Botan 3.5.0
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 395 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 397 of file stl_util.h.

397{ 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 399 of file stl_util.h.

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


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