nlib
Config.h File Reference

A file that contains the configuration information for each development environment. More...

#include "nn/nlib/Platform.h"
#include "nn/nlib/Config_linux.h"
#include <wchar.h>
#include <utility>

Go to the source code of this file.

Classes

struct  nn::nlib::move_tag
 An empty structure indicating that an argument to a function needs to be moved. More...
 

Namespaces

 nn::nlib
 Implements common features and features that are highly platform-dependent. Also refer to nlib Platform APIs. nlib_ns is an alias.
 

Macros

#define NLIB_CEXPR   constexpr
 Defines constexpr if it is available for use. If not, holds an empty string.
 
#define NLIB_TRY   if (true)
 Defines try if exceptions are enabled. If not, defines if (true).
 
#define NLIB_CATCH(x)   if (false)
 Defines catch(x) if exceptions are enabled. If not, defines if (true). More...
 
#define NLIB_THROW
 Defines throw if exceptions are enabled. If not, defines a space.
 
#define NLIB_STATIC_ASSERT(exp)   static_assert((exp), "NLIB_STATIC_ASSERT error: " #exp)
 Defines a static assertion. Uses static_assert if it is available for use. More...
 
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
 Prohibits use of the copy constructor and assignment operator for the class specified by TypeName. More...
 
#define NLIB_SAFE_BOOL(class_name, exp)
 Defines a safe operator bool function in the class. Uses the C++11 explicit bool if it is available for use. More...
 
#define NLIB_OVERRIDE   override
 Defines override if it is available for use. If not, holds an empty string.
 
#define NLIB_FINAL   final
 Defines final if it is available for use. If not, holds an empty string.
 
#define NLIB_ALIGNAS(x)   alignas(x)
 Defines alignas(x) or the equivalent. More...
 
#define NLIB_ALIGNOF(tp)   alignof(tp)
 Defines alignof(tp) or the equivalent. More...
 
#define NLIB_NOEMPTYFILE()
 Writing this macro in a file that should be empty for some reasons can prevent the Linker warning 4221 in MSVC from occurring.
 

Typedefs

typedef nlib_utf16_t nn::nlib::utf16_t
 Type for UTF-16 characters. Defined as nlib_utf16_t using typedef.
 
typedef nlib_utf32_t nn::nlib::utf32_t
 Type for UTF-32 characters. Defined as nlib_utf32_t using typedef.
 

Detailed Description

A file that contains the configuration information for each development environment.

Definition in file Config.h.