Stream

template<class native_stream_type, class = typename std::enable_if<is_stream_supported<native_stream_type>()>::type>
stream create_stream(native_stream_type &native_stream)

Creates a new stream from @native_stream_type.

Return

stream object

Parameters
  • native_stream: the existing handle of stream

stream create_stream()