Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:19

0001 #ifndef GENERS_IOISSTRING_HH_
0002 #define GENERS_IOISSTRING_HH_
0003 
0004 #include <string>
0005 
0006 namespace gs {
0007   template <class T>
0008   struct IOIsString {
0009     enum { value = 0 };
0010   };
0011 
0012   template <>
0013   struct IOIsString<std::string> {
0014     enum { value = 1 };
0015   };
0016 
0017   template <>
0018   struct IOIsString<const std::string> {
0019     enum { value = 1 };
0020   };
0021 
0022   template <>
0023   struct IOIsString<volatile std::string> {
0024     enum { value = 1 };
0025   };
0026 
0027   template <>
0028   struct IOIsString<const volatile std::string> {
0029     enum { value = 1 };
0030   };
0031 }  // namespace gs
0032 
0033 #endif  // GENERS_IOISSTRING_HH_