Botan 3.6.1
Crypto and TLS for C&
Botan::StringLiteral< N > Class Template Reference

#include <stl_util.h>

Public Member Functions

constexpr StringLiteral (const char(&str)[N])
 

Public Attributes

char value [N]
 

Detailed Description

template<size_t N>
class Botan::StringLiteral< N >

Definition at line 404 of file stl_util.h.

Constructor & Destructor Documentation

◆ StringLiteral()

template<size_t N>
Botan::StringLiteral< N >::StringLiteral ( const char(&) str[N])
inlineconstexpr

Definition at line 406 of file stl_util.h.

406{ std::copy_n(str, N, value); }

References Botan::StringLiteral< N >::value.

Member Data Documentation

◆ value

template<size_t N>
char Botan::StringLiteral< N >::value[N]

Definition at line 408 of file stl_util.h.

Referenced by Botan::StringLiteral< N >::StringLiteral().


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