Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Functions | Variables
std Namespace Reference

Detailed Description

STL namespace.

Classes

class  allocator
 STL class.
 
class  array
 STL class.
 
class  atomic
 STL class.
 
class  atomic_ref
 STL class.
 
class  auto_ptr
 STL class.
 
class  bad_alloc
 STL class.
 
class  bad_cast
 STL class.
 
class  bad_exception
 STL class.
 
class  bad_typeid
 STL class.
 
class  basic_fstream
 STL class.
 
class  basic_ifstream
 STL class.
 
class  basic_ios
 STL class.
 
class  basic_iostream
 STL class.
 
class  basic_istream
 STL class.
 
class  basic_istringstream
 STL class.
 
class  basic_ofstream
 STL class.
 
class  basic_ostream
 STL class.
 
class  basic_ostringstream
 STL class.
 
class  basic_string
 STL class.
 
class  basic_string_view
 STL class.
 
class  basic_stringstream
 STL class.
 
class  bitset
 STL class.
 
class  complex
 STL class.
 
class  coroutine_traits< seastar::future< T >, Args... >
 
class  deque
 STL class.
 
class  domain_error
 STL class.
 
class  error_category
 STL class.
 
class  error_code
 STL class.
 
class  error_condition
 STL class.
 
class  exception
 STL class.
 
class  forward_list
 STL class.
 
class  fstream
 STL class.
 
struct  hash< seastar::basic_sstring< char_type, size_type, max_size, NulTerminate > >
 
struct  hash< seastar::checked_ptr< T > >
 std::hash specialization for seastar::checked_ptr class More...
 
struct  hash< seastar::ipv4_addr >
 
struct  hash< seastar::lw_shared_ptr< T > >
 
struct  hash< seastar::memory::allocation_site >
 
struct  hash< seastar::metrics::impl::labels_type >
 
struct  hash< seastar::metrics::impl::metric_id >
 
struct  hash< seastar::net::inet_address >
 
struct  hash< seastar::net::ipv4_address >
 
struct  hash< seastar::net::ipv6_address >
 
struct  hash< seastar::rpc::connection_id >
 
struct  hash< seastar::rpc::streaming_domain_type >
 
struct  hash< seastar::scheduling_group >
 
struct  hash< seastar::shared_ptr< T > >
 
struct  hash< seastar::simple_backtrace >
 
struct  hash< seastar::socket_address >
 
struct  hash< seastar::tasktrace >
 
struct  hash< seastar::transport >
 
struct  hash< seastar::unix_domain_addr >
 
struct  hash<::sockaddr_in >
 
struct  hash<::sockaddr_un >
 
class  ifstream
 STL class.
 
class  invalid_argument
 STL class.
 
class  ios
 STL class.
 
class  ios_base
 STL class.
 
class  istream
 STL class.
 
class  istringstream
 STL class.
 
class  jthread
 STL class.
 
class  length_error
 STL class.
 
class  list
 STL class.
 
class  lock_guard
 STL class.
 
class  logic_error
 STL class.
 
class  map
 STL class.
 
class  multimap
 STL class.
 
class  multiset
 STL class.
 
class  mutex
 STL class.
 
class  ofstream
 STL class.
 
class  ostream
 STL class.
 
class  ostringstream
 STL class.
 
class  out_of_range
 STL class.
 
class  overflow_error
 STL class.
 
class  priority_queue
 STL class.
 
class  queue
 STL class.
 
class  range_error
 STL class.
 
class  recursive_mutex
 STL class.
 
class  recursive_timed_mutex
 STL class.
 
class  runtime_error
 STL class.
 
class  set
 STL class.
 
class  shared_lock
 STL class.
 
class  shared_mutex
 STL class.
 
class  shared_ptr
 STL class.
 
class  shared_timed_mutex
 STL class.
 
class  smart_ptr
 STL class.
 
class  span
 STL class.
 
class  stack
 STL class.
 
class  string
 STL class.
 
class  string_view
 STL class.
 
class  stringstream
 STL class.
 
class  system_error
 STL class.
 
class  thread
 STL class.
 
class  timed_mutex
 STL class.
 
struct  tuple_element< I, seastar::rpc::tuple< T... > >
 
struct  tuple_size< seastar::rpc::tuple< T... > >
 
class  u16string
 STL class.
 
class  u16string_view
 STL class.
 
class  u32string
 STL class.
 
class  u32string_view
 STL class.
 
class  u8string
 STL class.
 
class  u8string_view
 STL class.
 
class  underflow_error
 STL class.
 
class  unique_lock
 STL class.
 
class  unique_ptr
 STL class.
 
class  unordered_map
 STL class.
 
class  unordered_multimap
 STL class.
 
class  unordered_multiset
 STL class.
 
class  unordered_set
 STL class.
 
class  valarray
 STL class.
 
class  vector
 STL class.
 
class  weak_ptr
 STL class.
 
class  wfstream
 STL class.
 
class  wifstream
 STL class.
 
class  wios
 STL class.
 
class  wistream
 STL class.
 
class  wistringstream
 STL class.
 
class  wofstream
 STL class.
 
class  wostream
 STL class.
 
class  wostringstream
 STL class.
 
class  wstring
 STL class.
 
class  wstring_view
 STL class.
 
class  wstringstream
 STL class.
 

Functions

template<typename Func >
ostream & operator<< (ostream &os, const seastar::lazy_eval< Func > &lf)
 
template<typename Func >
ostream & operator<< (ostream &os, seastar::lazy_eval< Func > &lf)
 
template<typename Func >
ostream & operator<< (ostream &os, seastar::lazy_eval< Func > &&lf)
 
template<typename T >
ostream & operator<< (ostream &os, seastar::lazy_deref_wrapper< T > ld)
 

Variables

struct std::hash< seastar::net::ipv4_address__attribute__
 

Function Documentation

◆ operator<<()

template<typename Func >
ostream & std::operator<< ( ostream &  os,
const seastar::lazy_eval< Func > &  lf 
)

Output operator for a seastar::lazy_eval<Func> This would allow printing a seastar::lazy_eval<Func> as if it's a regular value.

For example:

logger.debug("heavy eval result:{}", seastar::value_of([&] { return <heavy evaluation>; }));

(If a logging level is lower than "debug" the evaluation will not take place.)

Template Parameters
Funca functor type
Parameters
osostream to print to
lfa reference to a lazy_eval<Func> to be printed
Returns
os