added static function string_for_value_type (void) to binary struct

and adapted each instance
This commit is contained in:
Alexandra Heuschling
2021-01-05 17:50:52 +01:00
parent d835958b6b
commit 6932a33414
6 changed files with 15 additions and 3 deletions

View File

@@ -106,6 +106,8 @@ template < typename T > struct binary
static size_t size_of(void) { return UnknownSize; }
static size_t size_of(const value_type&) { return UnknownSize; }
static std::string string_for_value_type (void) { return "UnknownType"; }
static
size_t store( std::ostream& /* _os */,
const value_type& /* _v */,