Botan 3.11.0
Crypto and TLS for C&
Botan::StringLiteral< N > Class Template Referencefinal

#include <pcurves_impl.h>

Public Member Functions

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

Public Attributes

char value [N]

Detailed Description

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

Definition at line 30 of file pcurves_impl.h.

Constructor & Destructor Documentation

◆ StringLiteral()

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

Definition at line 33 of file pcurves_impl.h.

33 : value() {
34 for(size_t i = 0; i != N; ++i) {
35 value[i] = str[i];
36 }
37 }

References value.

Member Data Documentation

◆ value

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

Definition at line 40 of file pcurves_impl.h.

Referenced by StringLiteral().


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