include
boost
atomic
detail
type-classifier.hpp
Go to the documentation of this file.
1
#ifndef BOOST_DETAIL_ATOMIC_TYPE_CLASSIFIER_HPP
2
#define BOOST_DETAIL_ATOMIC_TYPE_CLASSIFIER_HPP
3
4
// Copyright (c) 2011 Helge Bahmann
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// See accompanying file LICENSE_1_0.txt or copy at
8
// http://www.boost.org/LICENSE_1_0.txt)
9
10
namespace
boost
{
namespace
detail {
namespace
atomic {
11
12
template
<
typename
T>
13
struct
type_classifier
{
14
typedef
void
test
;
15
};
16
17
template
<>
18
struct
type_classifier
<char> {
typedef
int
test
;};
19
template
<>
20
struct
type_classifier
<unsigned char> {
typedef
int
test
;};
21
template
<>
22
struct
type_classifier
<signed char> {
typedef
int
test
;};
23
template
<>
24
struct
type_classifier
<unsigned short> {
typedef
int
test
;};
25
template
<>
26
struct
type_classifier
<signed short> {
typedef
int
test
;};
27
template
<>
28
struct
type_classifier
<unsigned int> {
typedef
int
test
;};
29
template
<>
30
struct
type_classifier
<signed int> {
typedef
int
test
;};
31
template
<>
32
struct
type_classifier
<unsigned long> {
typedef
int
test
;};
33
template
<>
34
struct
type_classifier
<long> {
typedef
int
test
;};
35
#ifdef BOOST_HAS_LONG_LONG
36
template
<>
struct
type_classifier
<unsigned long long>
37
{
typedef
int
test
;};
38
template
<>
struct
type_classifier<signed long long>
39
{
typedef
int
test
;};
40
#endif
41
42
template
<
typename
T>
43
struct
type_classifier
<T *> {
typedef
void
*
test
;};
44
45
template
<
typename
T>
46
struct
sign_trait
{
47
typedef
void
test
;
48
};
49
50
template
<>
51
struct
sign_trait
<char> {
typedef
int
test
;};
52
template
<>
53
struct
sign_trait
<unsigned char> {
typedef
unsigned
int
test
;};
54
template
<>
55
struct
sign_trait
<signed char> {
typedef
int
test
;};
56
template
<>
57
struct
sign_trait
<unsigned short> {
typedef
unsigned
int
test
;};
58
template
<>
59
struct
sign_trait
<signed short> {
typedef
int
test
;};
60
template
<>
61
struct
sign_trait
<unsigned int> {
typedef
unsigned
int
test
;};
62
template
<>
63
struct
sign_trait
<signed int> {
typedef
int
test
;};
64
template
<>
65
struct
sign_trait
<unsigned long> {
typedef
unsigned
int
test
;};
66
template
<>
67
struct
sign_trait
<long> {
typedef
int
test
;};
68
#ifdef BOOST_HAS_LONG_LONG
69
template
<>
struct
sign_trait
<unsigned long long>
70
{
typedef
unsigned
int
test
;};
71
template
<>
struct
sign_trait<signed long long>
72
{
typedef
int
test
;};
73
#endif
74
75
76
77
}}}
78
79
#endif
boost::detail::atomic::type_classifier< unsigned long >::test
int test
Definition:
type-classifier.hpp:32
boost::detail::atomic::sign_trait::test
void test
Definition:
type-classifier.hpp:47
boost::detail::atomic::type_classifier< T * >::test
void * test
Definition:
type-classifier.hpp:43
boost::detail::atomic::type_classifier
Definition:
type-classifier.hpp:13
boost::detail::atomic::type_classifier< signed int >::test
int test
Definition:
type-classifier.hpp:30
boost::detail::atomic::type_classifier< signed short >::test
int test
Definition:
type-classifier.hpp:26
boost::detail::atomic::sign_trait
Definition:
type-classifier.hpp:46
boost::detail::atomic::sign_trait< unsigned char >::test
unsigned int test
Definition:
type-classifier.hpp:53
boost
Definition:
base.hpp:116
boost::detail::atomic::sign_trait< unsigned long >::test
unsigned int test
Definition:
type-classifier.hpp:65
boost::detail::atomic::type_classifier< unsigned int >::test
int test
Definition:
type-classifier.hpp:28
boost::detail::atomic::sign_trait< unsigned int >::test
unsigned int test
Definition:
type-classifier.hpp:61
boost::detail::atomic::sign_trait< long >::test
int test
Definition:
type-classifier.hpp:67
boost::detail::atomic::type_classifier< long >::test
int test
Definition:
type-classifier.hpp:34
boost::detail::atomic::sign_trait< char >::test
int test
Definition:
type-classifier.hpp:51
boost::detail::atomic::sign_trait< signed char >::test
int test
Definition:
type-classifier.hpp:55
boost::detail::atomic::type_classifier< char >::test
int test
Definition:
type-classifier.hpp:18
boost::detail::atomic::type_classifier< unsigned char >::test
int test
Definition:
type-classifier.hpp:20
boost::detail::atomic::type_classifier::test
void test
Definition:
type-classifier.hpp:14
boost::detail::atomic::type_classifier< unsigned short >::test
int test
Definition:
type-classifier.hpp:24
boost::detail::atomic::type_classifier< signed char >::test
int test
Definition:
type-classifier.hpp:22
boost::detail::atomic::sign_trait< signed int >::test
int test
Definition:
type-classifier.hpp:63
boost::detail::atomic::sign_trait< unsigned short >::test
unsigned int test
Definition:
type-classifier.hpp:57
boost::detail::atomic::sign_trait< signed short >::test
int test
Definition:
type-classifier.hpp:59
rosatomic
Author(s): Josh Faust
autogenerated on Wed Mar 2 2022 00:54:12