nixd
|
ArrayRef
, BytesRef
, and related functions.
More...
#include <string_view>
Go to the source code of this file.
Classes | |
struct | nixt::ArrayRef< T > |
Weak reference to an array, with begin and end pointers. More... | |
Namespaces | |
namespace | nixt |
Access EvalCache in nix::EvalState . | |
Typedefs | |
using | nixt::BytesRef = ArrayRef<char> |
Functions | |
template<class T > | |
const T * | nixt::begin (ArrayRef< T > B) |
Iterator begin. Used for range-based-for | |
template<class T > | |
const T * | nixt::end (ArrayRef< T > B) |
Iterator end. | |
std::string_view | nixt::view (BytesRef B) |
template<class T > | |
ArrayRef< T > | nixt::advance (ArrayRef< T > B, long Offset) |
Advance the beginning pointer of bytes array. | |
template<class T > | |
std::size_t | nixt::lengthof (ArrayRef< T > B) |
Get length of this array. | |
ArrayRef
, BytesRef
, and related functions.
Definition in file ArrayRef.h.