include/llfio/v2.0/path_view.hpp
/*! Constructs from a lengthed array of `byte`. The input
  array MUST continue to exist for this view to be valid.
  */
Constructs from a lengthed array of `byte`. The input
array MUST continue to exist for this view to be valid.
Constructs from a lengthed array of ` byte ` . The input array MUST continue to exist for this view to be valid .
constexpr path_view_component(const byte *b, size_t l, enum zero_termination zt) noexcept
      : _bytestr((l == 0) ? nullptr : b)
      , _length((l == 0) ? 0 : l)
      , _zero_terminated((l == 0) ? false : (zt == zero_terminated))
      , _passthrough((l == 0) ? false : true)
      , _char(false)
      , _wchar(false)
      , _utf8(false)
      , _utf16(false)
      , _reserved1(0)
      , _format(binary_format)
  {
  }
constexpr path_view_component ( const byte * b , size_t l , enum zero_termination zt ) noexcept : _bytestr ( ( l == 0 ) ? nullptr : b ) , _length ( ( l == 0 ) ? 0 : l ) , _zero_terminated ( ( l == 0 ) ? false : ( zt == zero_terminated ) ) , _passthrough ( ( l == 0 ) ? false : true ) , _char ( false ) , _wchar ( false ) , _utf8 ( false ) , _utf16 ( false ) , _reserved1 ( 0 ) , _format ( binary_format ) { }
Constructs from a lengthed array of `byte`.
Constructs from a lengthed array of ` byte ` .