OSVR-Core
Bool.h
Go to the documentation of this file.
1 
14 // Copyright 2015 Sensics, Inc.
15 // Part of OSVR-Core.
16 //
17 // This file incorporates code from "meta":
18 // Copyright Eric Niebler 2014-2015
19 //
20 // Use, modification and distribution is subject to the
21 // Boost Software License, Version 1.0. (See accompanying
22 // file LICENSE_1_0.txt or copy at
23 // http://www.boost.org/LICENSE_1_0.txt)
24 //
25 // Project home: https://github.com/ericniebler/meta
26 //
27 
28 #ifndef INCLUDED_Bool_h_GUID_BD15BC1D_7D84_4CB7_1866_6FB218461737
29 #define INCLUDED_Bool_h_GUID_BD15BC1D_7D84_4CB7_1866_6FB218461737
30 
31 // Internal Includes
32 // - none
33 
34 // Library/third-party includes
35 // - none
36 
37 // Standard includes
38 #include <type_traits>
39 
40 namespace osvr {
41 namespace typepack {
43  template <bool V> using bool_ = std::integral_constant<bool, V>;
44 } // namespace typepack
45 } // namespace osvr
46 
47 #endif // INCLUDED_Bool_h_GUID_BD15BC1D_7D84_4CB7_1866_6FB218461737
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
std::integral_constant< bool, V > bool_
Alias template to simplify creating a boolean integral constant.
Definition: Bool.h:43