Zth (libzth)
Loading...
Searching...
No Matches
config.h File Reference
#include <libzth/macros.h>
#include <cstddef>
#include <sys/time.h>
#include <cstdint>
#include <memory>
#include "zth_config.h"

Go to the source code of this file.

Classes

struct  zth::Env
 
struct  zth::DefaultConfig
 
struct  zth::DefaultConfig::Allocator< T >
 Allocator type. More...
 

Namespaces

namespace  zth
 

Macros

#define zth_config(name)
 Checks if the given zth::Config field is enabled.
 
#define ZTH_CONSTEXPR_RETURN(type, ...)   return {__VA_ARGS__};
 

Functions

bool zth::config (int env, bool whenUnset)
 Checks if a given environment option is set.
 

Macro Definition Documentation

◆ ZTH_CONSTEXPR_RETURN

#define ZTH_CONSTEXPR_RETURN (   type,
  ... 
)    return {__VA_ARGS__};

Definition at line 51 of file config.h.