Stroika Library 3.0d23
 
Loading...
Searching...
No Matches
Stroika::Foundation::Common::Empty Struct Reference

#include <Empty.h>

Public Member Functions

template<typename... ARGS>
constexpr Empty (ARGS...)
 

Detailed Description

Believe it or not, this is often useful in template metaprogramming. Because you cannot declare a data member as 'void'. This amounts to same thing if used with [[no_unique_address]]/qStroika_ATTRIBUTE_NO_UNIQUE_ADDRESS

Definition at line 22 of file Empty.h.

Constructor & Destructor Documentation

◆ Empty()

template<typename... ARGS>
constexpr Stroika::Foundation::Common::Empty::Empty ( ARGS...  )
constexpr

Ignore any initializers, so can be used more easily in contexts where initializing with some random argument to be later ignored.

Definition at line 27 of file Empty.h.


The documentation for this struct was generated from the following file: