Security Scol plugin
Macros
config_ns.h File Reference

Library configuration file. More...

Go to the source code of this file.

Macros

#define NAMESPACE_BEGIN(x)   namespace x {
 
#define NAMESPACE_END   }
 
#define DOCUMENTED_TYPEDEF(x, y)   typedef x y
 
#define ANONYMOUS_NAMESPACE_BEGIN   namespace {
 
#define ANONYMOUS_NAMESPACE_END   }
 
#define USING_NAMESPACE(x)   using namespace x;
 
#define DOCUMENTED_NAMESPACE_BEGIN(x)   namespace x {
 
#define DOCUMENTED_NAMESPACE_END   }
 

Detailed Description

Library configuration file.

config_ns.h provides defines for C++ and library namespaces.

config.h was split into components in May 2019 to better integrate with Autoconf and its feature tests. The splitting occurred so users could continue to include config.h while allowing Autoconf to write new config_asm.h and new config_cxx.h using its feature tests.

Note
You should include config.h rather than config_ns.h directly.
See also
Issue 835, Make config.h more autoconf friendly, Configure.sh script on the Crypto++ wiki
Since
Crypto++ 8.3

Definition in file config_ns.h.

Macro Definition Documentation

◆ ANONYMOUS_NAMESPACE_BEGIN

#define ANONYMOUS_NAMESPACE_BEGIN   namespace {

Definition at line 70 of file config_ns.h.

◆ ANONYMOUS_NAMESPACE_END

#define ANONYMOUS_NAMESPACE_END   }

Definition at line 71 of file config_ns.h.

◆ DOCUMENTED_NAMESPACE_BEGIN

#define DOCUMENTED_NAMESPACE_BEGIN (   x)    namespace x {

Definition at line 73 of file config_ns.h.

◆ DOCUMENTED_NAMESPACE_END

#define DOCUMENTED_NAMESPACE_END   }

Definition at line 74 of file config_ns.h.

◆ DOCUMENTED_TYPEDEF

#define DOCUMENTED_TYPEDEF (   x,
 
)    typedef x y

Definition at line 66 of file config_ns.h.

◆ NAMESPACE_BEGIN

#define NAMESPACE_BEGIN (   x)    namespace x {

Definition at line 64 of file config_ns.h.

◆ NAMESPACE_END

#define NAMESPACE_END   }

Definition at line 65 of file config_ns.h.

◆ USING_NAMESPACE

#define USING_NAMESPACE (   x)    using namespace x;

Definition at line 72 of file config_ns.h.