Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
promote.hpp
Go to the documentation of this file.
1
// Copyright 2005 Alexander Nasonov.
2
// Distributed under the Boost Software License, Version 1.0. (See
3
// accompanying file LICENSE_1_0.txt or copy at
4
// http://www.boost.org/LICENSE_1_0.txt)
5
6
#ifndef FILE_boost_type_traits_promote_hpp_INCLUDED
7
#define FILE_boost_type_traits_promote_hpp_INCLUDED
8
9
#include <
boost/config.hpp
>
10
#include <
boost/type_traits/integral_promotion.hpp
>
11
#include <
boost/type_traits/floating_point_promotion.hpp
>
12
13
namespace
boost
{
14
15
template
<
class
T>
struct
promote
:
public
integral_promotion
<typename floating_point_promotion<T>::type>{};
16
17
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
18
19
template
<
class
T>
using
promote_t
=
typename
promote<T>::type
;
20
21
#endif
22
23
}
24
25
#endif // #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED
26
boost::integral_promotion
Definition:
integral_promotion.hpp:170
boost::promote_t
typename promote< T >::type promote_t
Definition:
promote.hpp:19
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
config.hpp
floating_point_promotion.hpp
boost::promote
Definition:
promote.hpp:15
boost::integral_promotion< floating_point_promotion< T >::type >::type
boost::type_traits::detail::integral_promotion< floating_point_promotion< T >::type, tag_type::value >::type type
Definition:
integral_promotion.hpp:175
integral_promotion.hpp
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:39