OSVR-Core
0.6-1962-g59773924
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
CppAPI.h
Go to the documentation of this file.
1
12
// Copyright 2015 Sensics, Inc.
13
//
14
// Licensed under the Apache License, Version 2.0 (the "License");
15
// you may not use this file except in compliance with the License.
16
// You may obtain a copy of the License at
17
//
18
// http://www.apache.org/licenses/LICENSE-2.0
19
//
20
// Unless required by applicable law or agreed to in writing, software
21
// distributed under the License is distributed on an "AS IS" BASIS,
22
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23
// See the License for the specific language governing permissions and
24
// limitations under the License.
25
26
#ifndef INCLUDED_CppAPI_h_GUID_C033B389_3FF4_44AF_AA03_3421F95748AB
27
#define INCLUDED_CppAPI_h_GUID_C033B389_3FF4_44AF_AA03_3421F95748AB
28
29
// Internal Includes
30
// - none
31
32
// Library/third-party includes
33
// - none
34
35
// Standard includes
36
// - none
37
38
#ifndef OSVR_CLIENTKIT_HAVE_TEMPLATE_UNIVERSAL_REF
39
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
40
#define OSVR_CLIENTKIT_HAVE_TEMPLATE_UNIVERSAL_REF
41
#elif defined(__GXX_EXPERIMENTAL_CXX0X) || __cplusplus >= 201103L
42
#define OSVR_CLIENTKIT_HAVE_TEMPLATE_UNIVERSAL_REF
43
#endif // conditions when we know we have template universal ref.
44
#endif
45
47
#ifdef OSVR_CLIENTKIT_HAVE_TEMPLATE_UNIVERSAL_REF
48
#define OSVR_CLIENTKIT_FUNCTOR_REF &&
49
#else
50
#define OSVR_CLIENTKIT_FUNCTOR_REF
51
#endif
52
53
#endif // INCLUDED_CppAPI_h_GUID_C033B389_3FF4_44AF_AA03_3421F95748AB
osvr
ClientKit
CppAPI.h
Generated on Tue May 16 2017 15:22:39 for OSVR-Core by
Doxygen
1.8.8