diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-16 20:29:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-24 16:40:04 +0300 |
commit | 8e761289a2446367267c6c0d9a26e734f0f78306 (patch) | |
tree | fb495d8c18801f271d124ee48731f10df396ca89 /cutl/details/boost/type_traits/msvc/typeof.hpp | |
parent | 4c8104756b92b9fa16b3a725e8a6aa620dfd606e (diff) |
Get rid of legacy build systems and rename cutl/ to libcutl/
Diffstat (limited to 'cutl/details/boost/type_traits/msvc/typeof.hpp')
-rw-r--r-- | cutl/details/boost/type_traits/msvc/typeof.hpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/cutl/details/boost/type_traits/msvc/typeof.hpp b/cutl/details/boost/type_traits/msvc/typeof.hpp deleted file mode 100644 index 942166c..0000000 --- a/cutl/details/boost/type_traits/msvc/typeof.hpp +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (C) 2004 Peder Holt -// Use, modification and distribution is subject to the Boost Software -// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) - -#ifndef BOOST_TYPETRAITS_MSVC_TYPEOF_HPP -#define BOOST_TYPETRAITS_MSVC_TYPEOF_HPP - -#include <cutl/details/boost/config.hpp> -#include <cutl/details/boost/detail/workaround.hpp> - -namespace cutl_details_boost { namespace detail { -# if BOOST_WORKAROUND(BOOST_MSVC,==1300) - template<typename ID> - struct msvc_extract_type - { - template<bool> - struct id2type_impl; - - typedef id2type_impl<true> id2type; - }; - - template<typename T, typename ID> - struct msvc_register_type : public msvc_extract_type<ID> - { - template<> - struct id2type_impl<true> //VC7.0 specific bugfeature - { - typedef T type; - }; - }; -# else - template<typename ID> - struct msvc_extract_type - { - struct id2type; - }; - - template<typename T, typename ID> - struct msvc_register_type : public msvc_extract_type<ID> - { - typedef msvc_extract_type<ID> base_type; - struct base_type::id2type // This uses nice VC6.5 and VC7.1 bugfeature - { - typedef T type; - }; - }; -# endif -}} - -#endif //BOOST_TYPETRAITS_MSVC_TYPEOF_IMPL_HPP |