aboutsummaryrefslogtreecommitdiff
path: root/src/fstring.cpp
blob: 0b5a9700334e6f843b2a7102321ac194057eade0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "fstring.h"
#include "hash.h"

template<> uint32_t Bu::__calcHashCode<Bu::FString>( const Bu::FString &k )
{
	return __calcHashCode( k.c_str() );
}

template<> bool Bu::__cmpHashKeys<Bu::FString>(
		const Bu::FString &a, const Bu::FString &b )
{
	return a == b;
}

std::ostream& operator<< (std::ostream &os, Bu::FString &val )
{
	os.write( val.getStr(), val.getSize() );
	return os;
}