OSVR-Core
inc
osvr
TypePack
Void.h
Go to the documentation of this file.
1
14
// Copyright 2015 Sensics, Inc.
15
// TypePack is part of OSVR-Core.
16
//
17
// 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_Void_h_GUID_C0BDC2E5_4EB7_4BA1_93F7_841769EB1655
29
#define INCLUDED_Void_h_GUID_C0BDC2E5_4EB7_4BA1_93F7_841769EB1655
30
31
// Internal Includes
32
#include "
Apply.h
"
33
#include "
Always.h
"
34
35
// Library/third-party includes
36
// - none
37
38
// Standard includes
39
// - none
40
41
namespace
osvr
{
42
namespace
typepack {
43
45
template
<
typename
... Ts>
using
void_
=
apply<always<void>
, Ts...>;
46
47
}
// namespace typepack
48
}
// namespace osvr
49
50
#endif // INCLUDED_Void_h_GUID_C0BDC2E5_4EB7_4BA1_93F7_841769EB1655
Apply.h
Header.
osvr
The main namespace for all C++ elements of the framework, internal and external.
Definition:
namespace_osvr.dox:3
osvr::typepack::void_
apply< always< void >, Ts... > void_
An alias for void.
Definition:
Void.h:45
osvr::typepack::apply
typename F::template apply< Args... > apply
Apply an alias class.
Definition:
Apply.h:44
Always.h
Header.
Generated by
1.8.12