Blender V5.3
blender::FixedString< N > Struct Template Reference

#include <BLI_fixed_string.hh>

Public Member Functions

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

Public Attributes

char data [N]

Detailed Description

template<size_t N>
struct blender::FixedString< N >

This can represent a string at a compile time in a way that can be used as template parameter.

While std::string can be used at compile time, it is not a "structural type" and therefore cannot be used as template parameter.

Definition at line 21 of file BLI_fixed_string.hh.

Constructor & Destructor Documentation

◆ FixedString()

template<size_t N>
blender::FixedString< N >::FixedString ( const char(&) str[N])
inlineconstexpr

Definition at line 24 of file BLI_fixed_string.hh.

References data, N, and str.

Member Data Documentation

◆ data

template<size_t N>
char blender::FixedString< N >::data[N]

Definition at line 22 of file BLI_fixed_string.hh.

Referenced by FixedString().


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