Shi
Loading...
Searching...
No Matches
shi::Word Struct Reference

Word. More...

#include <shi.hpp>

Public Member Functions

constexpr Word ()=default
 
 Word (char const *str)
 
 Word (char const *str, size_t len)
 
 Word (void_fp fp)
 
template<typename... Ts>
Wordoperator() (Ts &&... ts)
 
template<typename T >
 operator T ()
 Implicit conversion return.
 
template<typename... Ts>
 operator std::tuple< Ts... > ()
 Implicit conversion multiple returns.
 

Private Attributes

void_fp fp {nullptr}
 

Detailed Description

Constructor & Destructor Documentation

◆ Word() [1/4]

shi::Word::Word ( )
constexprdefault

◆ Word() [2/4]

shi::Word::Word ( char const * str)
inline

◆ Word() [3/4]

shi::Word::Word ( char const * str,
size_t len )
inline

◆ Word() [4/4]

shi::Word::Word ( void_fp fp)
inline

Member Function Documentation

◆ operator std::tuple< Ts... >()

template<typename... Ts>
shi::Word::operator std::tuple< Ts... > ( )
inline

Implicit conversion multiple returns.

Here is the call graph for this function:

◆ operator T()

template<typename T >
shi::Word::operator T ( )
inline

Implicit conversion return.

Here is the call graph for this function:

◆ operator()()

template<typename... Ts>
Word & shi::Word::operator() ( Ts &&... ts)
inline

Call word

Template Parameters
TsTypes of arguments
Parameters
tsArguments
Here is the call graph for this function:

Member Data Documentation

◆ fp

void_fp shi::Word::fp {nullptr}
private

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