/usr/include/boost/align/detail
Edit: /usr/include/boost/align/detail/element_type.hpp (1659B)
/*
Copyright 2015 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_ALIGN_DETAIL_ELEMENT_TYPE_HPP
#define BOOST_ALIGN_DETAIL_ELEMENT_TYPE_HPP
#include
#if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
#include
#else
#include
#endif
namespace boost {
namespace alignment {
namespace detail {
#if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
using std::remove_reference;
using std::remove_all_extents;
using std::remove_cv;
#else
template
struct remove_reference {
typedef T type;
};
template
struct remove_reference {
typedef T type;
};
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
template
struct remove_reference {
typedef T type;
};
#endif
template
struct remove_all_extents {
typedef T type;
};
template
struct remove_all_extents {
typedef typename remove_all_extents::type type;
};
template
struct remove_all_extents {
typedef typename remove_all_extents::type type;
};
template
struct remove_cv {
typedef T type;
};
template
struct remove_cv {
typedef T type;
};
template
struct remove_cv {
typedef T type;
};
template
struct remove_cv {
typedef T type;
};
#endif
template
struct element_type {
typedef typename remove_cv::type>::type>::type type;
};
} /* detail */
} /* alignment */
} /* boost */
#endif