Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
floating_point_promotion.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_floating_point_promotion_hpp_INCLUDED
7
#define FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
8
9
namespace
boost
{
10
11
template
<
class
T>
struct
floating_point_promotion
{
typedef
T
type
; };
12
template
<>
struct
floating_point_promotion
<float> {
typedef
double
type
; };
13
template
<>
struct
floating_point_promotion
<float const> {
typedef
double
const
type
; };
14
template
<>
struct
floating_point_promotion
<float volatile>{
typedef
double
volatile
type
; };
15
template
<>
struct
floating_point_promotion
<float const volatile> {
typedef
double
const
volatile
type
; };
16
17
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
18
19
template
<
class
T>
using
floating_point_promotion_t
=
typename
floating_point_promotion<T>::type
;
20
21
#endif
22
23
}
24
25
#endif // #ifndef FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
26
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::floating_point_promotion< float const >::type
double const type
Definition:
floating_point_promotion.hpp:13
boost::floating_point_promotion< float const volatile >::type
double const volatile type
Definition:
floating_point_promotion.hpp:15
t265_stereo.T
T
Definition:
t265_stereo.py:157
boost::floating_point_promotion
Definition:
floating_point_promotion.hpp:11
boost::floating_point_promotion< float volatile >::type
double volatile type
Definition:
floating_point_promotion.hpp:14
boost::floating_point_promotion::type
T type
Definition:
floating_point_promotion.hpp:11
boost::floating_point_promotion_t
typename floating_point_promotion< T >::type floating_point_promotion_t
Definition:
floating_point_promotion.hpp:19
boost::floating_point_promotion< float >::type
double type
Definition:
floating_point_promotion.hpp:12
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:14