C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::dsl::arg::cstring Class Reference

Represents a null-terminated string or null. More...

#include <arg.hpp>

Public Member Functions

 cstring (const char *str)
 
 cstring (std::string str)
 
 cstring (std::optional< const char * > str)
 
 cstring (std::optional< std::string > str)
 
 cstring (caf::expected< const char * > str)
 
 cstring (caf::expected< std::string > str)
 
 cstring (cstring &&)=default
 
 cstring (const cstring &)=default
 
cstringoperator= (cstring &&)=default
 
cstringoperator= (const cstring &)=default
 
const char * get () const noexcept
 
bool has_value () const noexcept
 
 operator bool () const noexcept
 
bool operator! () const noexcept
 

Detailed Description

Represents a null-terminated string or null.

Member Function Documentation

◆ get()

const char * caf::net::dsl::arg::cstring::get ( ) const
noexcept
Returns
a pointer to the null-terminated string.

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