
From: Scott Schurr <scott_schurr@credence.com>
2. Pavel Vozenilek thinks that the names binary_nibble and binary_int could be improved on. Pavel suggests the names 'nibble' and 'bits', noting that the term 'binary' has too many connotations in C++.
At any rate, what do folks think would be good names for these two templates?
If not "binary" then what, "base2?" IIUC, these templates produce numeric values from a binary representation. Thus, the result is nothing more than a number and its coming from binary digits is no longer important, so "binary" doesn't need to be part of their name. Maybe putting them in a "binary" namespace would help? namespace binary { template ... class number; template ... class nibble; } If you want to support signed and unsigned, then you'll have to skirt around keywords with something like: signed_ and unsigned_. (The same problem arises with your original "binary_int:" it can't be binary::int.) -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;