userver: storages::Query::NameLiteral Class Reference
Loading...
Searching...
No Matches
storages::Query::NameLiteral Class Reference

#include <userver/storages/query.hpp>

Detailed Description

Compile time literal with query name.

Definition at line 37 of file query.hpp.

+ Inheritance diagram for storages::Query::NameLiteral:

Public Member Functions

USERVER_IMPL_CONSTEVAL NameLiteral (const char *literal) noexcept
 
constexpr const char * c_str () const noexcept
 

Static Public Member Functions

static constexpr zstring_view UnsafeMake (const char *str, std::size_t len) noexcept
 

Constructor & Destructor Documentation

◆ NameLiteral()

USERVER_IMPL_CONSTEVAL storages::Query::NameLiteral::NameLiteral ( const char *  literal)
inlinenoexcept

Definition at line 47 of file query.hpp.

Member Function Documentation

◆ c_str()

constexpr const char * utils::zstring_view::c_str ( ) const
inlineconstexprnoexceptinherited

Definition at line 37 of file zstring_view.hpp.

◆ UnsafeMake()

static constexpr zstring_view utils::zstring_view::UnsafeMake ( const char str,
std::size_t  len 
)
inlinestaticconstexprnoexceptinherited

Constructs a zstring_view from a pointer and size.

Warning
str[len] should be '\0'.

Definition at line 41 of file zstring_view.hpp.


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