Bomberman
Public Member Functions | Public Attributes | List of all members
BBM::StringLiteral< I > Struct Template Reference

#include <TagComponent.hpp>

Collaboration diagram for BBM::StringLiteral< I >:

Public Member Functions

constexpr StringLiteral (const char(&str)[I])
 Implicitly convert an array of char to a string literal. More...
 
constexpr StringLiteral (const StringLiteral &)=default
 A string literal is copy constructable. More...
 
constexpr ~StringLiteral ()=default
 A default destructor. More...
 
constexpr StringLiteraloperator= (const StringLiteral &)=default
 A string literal is assignable. More...
 

Public Attributes

char value [I]
 

Constructor & Destructor Documentation

◆ StringLiteral() [1/2]

template<std::size_t I>
constexpr BBM::StringLiteral< I >::StringLiteral ( const char(&)  str[I])
inlineconstexpr

Implicitly convert an array of char to a string literal.

◆ StringLiteral() [2/2]

template<std::size_t I>
constexpr BBM::StringLiteral< I >::StringLiteral ( const StringLiteral< I > &  )
constexprdefault

A string literal is copy constructable.

◆ ~StringLiteral()

template<std::size_t I>
constexpr BBM::StringLiteral< I >::~StringLiteral ( )
constexprdefault

A default destructor.

Member Function Documentation

◆ operator=()

template<std::size_t I>
constexpr StringLiteral& BBM::StringLiteral< I >::operator= ( const StringLiteral< I > &  )
constexprdefault

A string literal is assignable.

Member Data Documentation

◆ value

template<std::size_t I>
char BBM::StringLiteral< I >::value[I]

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