Builds a status representation from an inlined rep and a message.

Synopsis

Declared in <absl/status/status.h>

template<typename StringOrView>
uintptr_t
MakeStatusRepImpl(
    uintptr_t inlined_rep,
    StringOrView msg,
    absl::SourceLocation loc);
Note

This function is a hidden friend of Status, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The representation for the resulting status.

Parameters

Name

Description

inlined_rep

The inlined representation carrying the error code.

msg

The error message.

loc

The source location of the callsite.

Created with MrDocs