absl::Cord::Cord

Creates a Cord with the contents of StringConstant<T>::value.

Synopsis

Declared in <absl/strings/cord.h>

template<typename T>
constexpr
Cord(/* implementation-defined */::StringConstant<T> value);

Description

No allocations will be done and no data will be copied. This is an INTERNAL API and subject to change or removal. This API can only be used by spelling absl::strings_internal::MakeStringConstant, which is also an internal API.

Template Parameters

NameDescription
TThe string-constant type providing the contents.

Parameters

NameDescription
valueThe string constant that provides the contents.