Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
is_primitive.h
Package: ioSerialization.rar [view]
Upload User: kx_jwh
Upload Date: 2021-09-03
Package Size: 76k
Code Size: 1k
Category:
STL
Development Platform:
Visual C++
- /* vim: set tabstop=4 : */
- #ifndef __febird_io_is_primitive_h__
- #define __febird_io_var_int_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- # pragma once
- #endif
- #include <boost/cstdint.hpp>
- #include <string>
- // should be the last #include
- #include <boost/type_traits/detail/bool_trait_def.hpp>
- namespace febird {
- BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_primitive,T,false)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, char, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned char, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, int, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, long, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, short, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned int, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned long, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned short, true)
- #if defined(BOOST_HAS_LONG_LONG)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, long long, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned long long, true)
- #elif defined(BOOST_HAS_MS_INT64)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, __int64, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, unsigned __int64, true)
- #endif
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, std::string, true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_primitive, std::wstring, true)
- } // namespace febird
- #include "boost/type_traits/detail/bool_trait_undef.hpp"
- #endif // __febird_io_var_int_h__