Workspace 6.21.5
|
Traits class to determine if a type T supports input streaming. More...
#include <Workspace/Application/LanguageUtils/streamable.h>
Additional Inherited Members | |
Public Types inherited from IsStreamableIn< T > | |
enum | { Is = (sizeof(checkForStreamable((istrm >> x))) == sizeof(char)) } |
For a class to support input streaming, it must support std::istream
functionality. Client code makes use of this traits class by testing the compile-time constant value of Is. You can create an specialization of this class if you want to avoid using the default tests which can yield compiler errors due to ambiguous overloads in certain circumstances.