type_traits.hpp

Go to the documentation of this file.
00001 /****
00002 ***** Copyright 2010 Intel Corporation All Rights Reserved.
00003 *****
00004 ***** The source code, information and material contained herein are owned by Intel Corporation or its suppliers  *****
00005 ***** or licensors, and title to such Material remains with Intel Corporation or its suppliers or licensors.      *****
00006 ***** The Material contains proprietary information of Intel or its suppliers and licensors. The Material is      *****
00007 ***** protected by worldwide copyright laws and treaty provisions. No part of the Material may be used, copied,   *****
00008 ***** reproduced, modified, published, uploaded, posted, transmitted, distributed or disclosed in any way without *****
00009 ***** Intel's prior express written permission.
00010 *****
00011 ***** No license under any patent, copyright or other intellectual property rights in the material is granted to  *****
00012 ***** or conferred upon you, either expressly, by implication, inducement, estoppel or otherwise. Any license     *****
00013 ***** under such intellectual property rights must be express and approved by Intel in writing.
00014 ****/
00015 
00016 /**** Copyright Ends ****/
00017 
00018 #ifndef ARBB_CPP_TYPE_TRAITS_HPP
00019 #define ARBB_CPP_TYPE_TRAITS_HPP
00020 
00021 #include "namespace.hpp"
00022 
00023 namespace ARBB_CPP_NS {
00024 
00027 
00031 template <typename T> struct boolean_type {
00034   typedef bool type;
00035 };
00039 template <typename T> struct compare_type {
00042   typedef int type;
00043 };
00044 
00049 template <typename T> struct captured {};
00055 template <typename T> struct uncaptured {};
00056 
00058 
00059 } // namespace ARBB_CPP_NS
00060 
00061 #endif // ARBB_CPP_TYPE_TRAITS_HPP

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.