kblib 0.2.3
General utilities library for modern C++
kblib::lexical_caster< std::string_view, From > Struct Template Reference

#include <kblib/convert.h>

Public Member Functions

auto cast (...) -> std::string_view=delete
 

Static Public Member Functions

static std::enable_if_t< std::is_convertible_v< From, std::string_view >, std::string_view > cast (const From &val, const char *)
 

Detailed Description

template<typename From>
struct kblib::lexical_caster< std::string_view, From >

Definition at line 826 of file convert.h.

Member Function Documentation

◆ cast() [1/2]

template<typename From >
auto kblib::lexical_caster< std::string_view, From >::cast (   ...) -> std::string_view=delete
delete

◆ cast() [2/2]

template<typename From >
static std::enable_if_t< std::is_convertible_v< From, std::string_view >, std::string_view > kblib::lexical_caster< std::string_view, From >::cast ( const From &  val,
const char *   
)
inlinestatic

Definition at line 829 of file convert.h.


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