ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
Sawyer::Ok< char[N]> Class Template Reference

Description

template<size_t N>
class Sawyer::Ok< char[N]>

Definition at line 99 of file Result.h.

Public Types

using Value = std::string
 

Public Member Functions

 Ok (const Value &s)
 
Okoperator= (const Ok &other)
 
Okoperator= (const Value &ok)
 
const Value & operator* () const
 
const Value * operator-> () const
 

Member Typedef Documentation

◆ Value

template<size_t N>
using Sawyer::Ok< char[N]>::Value = std::string

Definition at line 101 of file Result.h.

Constructor & Destructor Documentation

◆ Ok()

template<size_t N>
Sawyer::Ok< char[N]>::Ok ( const Value &  s)
inlineexplicit

Definition at line 129 of file Result.h.

Member Function Documentation

◆ operator=() [1/2]

template<size_t N>
Ok & Sawyer::Ok< char[N]>::operator= ( const Ok< char[N]> &  other)
inline

Definition at line 132 of file Result.h.

◆ operator=() [2/2]

template<size_t N>
Ok & Sawyer::Ok< char[N]>::operator= ( const Value &  ok)
inline

Definition at line 137 of file Result.h.

◆ operator*()

template<size_t N>
const Value & Sawyer::Ok< char[N]>::operator* ( ) const
inline

Definition at line 142 of file Result.h.

◆ operator->()

template<size_t N>
const Value * Sawyer::Ok< char[N]>::operator-> ( ) const
inline

Definition at line 146 of file Result.h.


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