source: rtos_arduino/trunk/arduino_lib/libraries/ArduinoJson/include/ArduinoJson/TypeTraits/IsReference.hpp@ 209

Last change on this file since 209 was 209, checked in by ertl-honda, 8 years ago

BlueMix用のフィアルを追加

File size: 463 bytes
Line 
1// Copyright Benoit Blanchon 2014-2016
2// MIT License
3//
4// Arduino JSON library
5// https://github.com/bblanchon/ArduinoJson
6// If you like this project, please add a star!
7
8#pragma once
9
10namespace ArduinoJson {
11namespace TypeTraits {
12
13// A meta-function that returns true if T is a reference
14template <typename T>
15struct IsReference {
16 static const bool value = false;
17};
18
19template <typename T>
20struct IsReference<T&> {
21 static const bool value = true;
22};
23}
24}
Note: See TracBrowser for help on using the repository browser.