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

Name

Description

T

The string‐constant type providing the contents.

Parameters

Name

Description

value

The string constant that provides the contents.

Created with MrDocs