blob: f71d6c1b537b5278c951913d505de4683036e9ba (
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::basic_ostream<char>& operator<< (std::basic_ostream<char> &os, const Bu::FString &val )
{
os.write( val.getStr(), val.getSize() );
return os;
}
|