Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
absl::SourceLocation Class Reference

Detailed Description

Definition at line 39 of file source_location.h.

#include <source_location.h>

Public Member Functions

constexpr SourceLocation ()
constexpr std::uint_least32_t line () const
constexpr const char * file_name () const

Static Public Member Functions

static constexpr SourceLocation DoNotInvokeDirectly (std::uint_least32_t line, const char *file_name)
static constexpr SourceLocation current ()

Friends

constexpr int UseUnused ()

Constructor & Destructor Documentation

◆ SourceLocation()

absl::SourceLocation::SourceLocation ( )
inlineconstexpr

Definition at line 48 of file source_location.h.

Member Function Documentation

◆ current()

constexpr SourceLocation absl::SourceLocation::current ( )
inlinestaticconstexpr

Definition at line 83 of file source_location.h.

◆ DoNotInvokeDirectly()

constexpr SourceLocation absl::SourceLocation::DoNotInvokeDirectly ( std::uint_least32_t line,
const char * file_name )
inlinestaticconstexpr

Definition at line 52 of file source_location.h.

◆ file_name()

const char * absl::SourceLocation::file_name ( ) const
inlineconstexpr

Definition at line 91 of file source_location.h.

◆ line()

std::uint_least32_t absl::SourceLocation::line ( ) const
inlineconstexpr

Definition at line 88 of file source_location.h.

◆ UseUnused

int UseUnused ( )
friend

Definition at line 105 of file source_location.h.


The documentation for this class was generated from the following file: