Skip to content

File staticwarning.h

FileList > code_source > templat > include > TempLat > util > staticwarning.h

Go to the source code of this file

Namespaces

Type Name
namespace TempLat

Classes

Type Name
class StaticWarning
struct warn_if <condition>
A compile-time warning based on template programming values. Taken from https://www.reddit.com/r/cpp/comments/66o1ju/does_a_static_warn_exist/ .
struct warn_if< false > <>

Macros

Type Name
define static_warn (x, ...) ((void)warn\_if&lt;x&gt;())

Macro Definition Documentation

define static_warn

#define static_warn (
    x,
    ...
) `((void)warn_if<x>())`


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/staticwarning.h