diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-10-03 09:13:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-10-03 09:13:28 +0000 |
commit | b3eef5b0b82c20a9f11868ba376f6bb2d94faae4 (patch) | |
tree | 7c5f4243d3a528f86daad826ed886dea6b816871 /src/tests/size.cpp | |
parent | 850ebb96df909a4113fdf9c5bf82cf0f598901ca (diff) | |
download | libbu++-b3eef5b0b82c20a9f11868ba376f6bb2d94faae4.tar.gz libbu++-b3eef5b0b82c20a9f11868ba376f6bb2d94faae4.tar.bz2 libbu++-b3eef5b0b82c20a9f11868ba376f6bb2d94faae4.tar.xz libbu++-b3eef5b0b82c20a9f11868ba376f6bb2d94faae4.zip |
Nothing about function. I added a bunch of docs and re-arranged a bunch of
the existing docs. Taking advantage of some of the cooler extra features of
doxygen I've started writing extra how-to pages covering working with sections
of the library. Also, I started grouping the classes by function so they show
up on the Modules page together, very cute.
Diffstat (limited to 'src/tests/size.cpp')
-rw-r--r-- | src/tests/size.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/size.cpp b/src/tests/size.cpp new file mode 100644 index 0000000..be13b69 --- /dev/null +++ b/src/tests/size.cpp | |||
@@ -0,0 +1,13 @@ | |||
1 | #include "bu/hash.h" | ||
2 | #include "bu/fstring.h" | ||
3 | |||
4 | #define pSize( t ) printf("%15s: %db\n", #t, sizeof( t ) ); | ||
5 | |||
6 | int main() | ||
7 | { | ||
8 | typedef Bu::Hash<char, char> charcharHash; | ||
9 | typedef Bu::Hash<Bu::FString, Bu::FString> strstrHash; | ||
10 | pSize( Bu::FString ); | ||
11 | pSize( charcharHash ); | ||
12 | pSize( strstrHash ); | ||
13 | } | ||