blob: 95c6c3bddedc9537c6af6138247edec60cd21a46 [file] [log] [blame]
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_traits for most recent version including documentation.
#ifndef NDNBOOST_TT_IS_VOID_HPP_INCLUDED
#define NDNBOOST_TT_IS_VOID_HPP_INCLUDED
#include <ndnboost/config.hpp>
// should be the last #include
#include <ndnboost/type_traits/detail/bool_trait_def.hpp>
namespace ndnboost {
//* is a type T void - is_void<T>
#if defined( __CODEGEARC__ )
NDNBOOST_TT_AUX_BOOL_TRAIT_DEF1(is_void,T,__is_void(T))
#else
NDNBOOST_TT_AUX_BOOL_TRAIT_DEF1(is_void,T,false)
NDNBOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void,true)
#ifndef NDNBOOST_NO_CV_VOID_SPECIALIZATIONS
NDNBOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void const,true)
NDNBOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void volatile,true)
NDNBOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void const volatile,true)
#endif
#endif // non-CodeGear implementation
} // namespace ndnboost
#include <ndnboost/type_traits/detail/bool_trait_undef.hpp>
#endif // NDNBOOST_TT_IS_VOID_HPP_INCLUDED