kumi v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
kumi::field< Id, T > Struct Template Reference

Specialisation to clearly indicate an error. More...

#include <kumi/detail/field.hpp>

Detailed Description

template<typename Id, typename T>
requires (std::is_empty_v<T>)
struct kumi::field< Id, T >

Specialisation to clearly indicate an error.

Static Public Member Functions

static constexpr auto name ()
 Name associated to the field.

(Note that these are not member symbols.)

decltype(auto) constexpr capture_field (T &&t) noexcept
 Creates a field from a given value keeping the qualifiers.
decltype(auto) constexpr field_cast (T &&t) noexcept
 Casts the provided value to the target type using static_cast.
template<typename CharT, typename Traits>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, field const &w) noexcept
 Inserts a kumi::field in an output stream.