Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::concepts::Writable Struct Reference

Public Member Functions

template<typename Out , typename T >
auto requires_ (Out &&o, T &&t) -> decltype(concepts::valid_expr(((void)(*o=static_cast< T &&>(t)), 42),((void)(*static_cast< Out &&>(o)=static_cast< T &&>(t)), 42),((void)(const_cast< reference_t< Out > const &&>(*o)=static_cast< T &&>(t)), 42),((void)(const_cast< reference_t< Out > const &&>(*static_cast< Out &&>(o))=static_cast< T &&>(t)), 42)))