Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
clangversionabstraction.h File Reference
#include <clang/Basic/SourceLocation.h>
#include <clang/Basic/Version.h>
#include <memory>
Include dependency graph for clangversionabstraction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ReflectiveRapidJSON::MaybeUnique< T >
 The MaybeUnique class represents either a std::unique_ptr or a raw pointer. More...

Namespaces

namespace  ReflectiveRapidJSON

Macros

#define REFLECTIVE_RAPIDJSON_MAYBE_UNIQUE(t)
 The REFLECTIVE_RAPIDJSON_MAYBE_UNIQUE macro either expands to a std::unique_ptr or a raw pointer depending on the Clang version.

Functions

template<typename T>
MaybeUnique< T > ReflectiveRapidJSON::maybe_unique (T *val)
template<typename T>
MaybeUnique< T > ReflectiveRapidJSON::maybe_unique (std::unique_ptr< T > val)
template<typename T>
bool ReflectiveRapidJSON::startsStrRefWith (T stringRef1, T stringRef2)
 Tests whether an llvm::StringRef starts with another llvm::StringRef.

Macro Definition Documentation

◆ REFLECTIVE_RAPIDJSON_MAYBE_UNIQUE

#define REFLECTIVE_RAPIDJSON_MAYBE_UNIQUE ( t)
Value:
std::unique_ptr<t>

The REFLECTIVE_RAPIDJSON_MAYBE_UNIQUE macro either expands to a std::unique_ptr or a raw pointer depending on the Clang version.

Definition at line 45 of file clangversionabstraction.h.