Namespaces
Name |
Description |
Abseil's root namespace. Abseil is Google's open‐source collection of C++ library code that augments the C++ standard library. |
absl namespace
Abseil's root namespace. Abseil is Google's open‐source collection of C++ library code that augments the C++ standard library.
Namespaces
Name |
Description |
Utilities for adapting objects to the interface that |
|
Accessors returning Transform functors that may be passed to |
|
Low‐level stack trace helpers shared by the public |
Types
Name |
Description |
Always returns |
|
The main parameter type for |
|
absl::AnyInvocable |
|
A type‐erased, non‐owning view over a random‐access sequence. |
|
Exception thrown when accessing the value of an invalid |
|
A barrier that blocks threads until a threshold of threads reach it. |
|
A general‐purpose random bit generator for the Abseil random library. |
|
A type‐erasing, non‐owning reference to any uniform random bit generator. |
|
A counter that lets a thread block until a number of actions complete. |
|
A delimiter that will match any of the given byte‐sized characters within its provided string. |
|
A sub‐string delimiter that splits by ASCII whitespace (space, tab, vertical tab, formfeed, linefeed, or carriage return). |
|
A single character delimiter. |
|
A delimiter for splitting into equal‐length strings. |
|
A sub‐string delimiter. |
|
A fast, bit‐vector set of 8‐bit unsigned characters. |
|
Scope guard that invokes a callback on scope exit. |
|
An abstract interface representing a Clock, which is an object that can tell you the current time, sleep, and wait for a condition variable. |
|
A type‐erased handle for an instance of an Abseil Flag and holds reflection information pertaining to that flag. Use |
|
A condition variable that can be signaled to wake threads waiting on state evaluated outside a |
|
A predicate on state protected by a |
|
A sequence of characters stored as a tree of buffers. |
|
Manages memory buffers for building cords. |
|
Test‐only accessor for |
|
Test‐only accessor granting access to |
|
Stores a set of decimal string conversion parameters for use within |
|
The |
|
StatusBuilder policy to append an extra message to the original status. |
|
Configuration options for |
|
The type returned by |
|
A run‐time fixed‐size array that allocates small arrays inline. |
|
A |
|
This structure contains the collection of callbacks for changing the behavior of the usage reporting routines in Abseil Flags. |
|
Specifies modifications to the conversion of the format string, through use of one or more format flags in the source format string. |
|
Indicates whether a call to AbslFormatConvert() was successful. |
|
Safely wraps |
|
A type erased wrapper around arbitrary sink objects specifically used as an argument to |
|
A generic abstraction to which conversions may write their formatted string data. |
|
FunctionRef |
|
Detects if type |
|
Detects if type |
|
A type‐erased version of the hash state concept. |
|
Stores a set of hexadecimal string conversion parameters for use within |
|
A drop‐in replacement for |
|
An efficient random bit generator for performance‐sensitive use cases. |
|
This helper class indicates that any heap allocations done in the code block covered by the scoped object, which should be allocated on the stack, will not be reported as leaks. Leak check disabling will occur within the code block and any nested function calls within the code block. |
|
Represents a single entry in a log, i.e., one |
|
|
|
Although you can stream into |
|
A constant that indicates how a lock should be acquired. |
|
A non‐reentrant mutually exclusive lock that also supports reader‐writer locking and conditional critical regions. |
|
RAII helper that acquires and releases a |
|
RAII helper like |
|
NoDestructor<T> is a wrapper around an object of type T that behaves as an object of type T but never calls T's destructor. NoDestructor<T> makes it safer and/or more efficient to use such objects in static storage contexts, ideally as function scope static variables. |
|
Lets threads wait for a single occurrence of a single event. |
|
|
|
RAII helper that acquires and releases a shared (reader) lock on a |
|
RAII helper like |
|
RAII type used to temporarily update the Stderr Threshold parameter. |
|
An exception thrown when suitable seed‐material cannot be derived. |
|
A simulated clock is a concrete Clock implementation that does not "tick" on its own. Time is advanced by explicit calls to the AdvanceTime() or SetTime() functions. |
|
Returns |
|
Returns |
|
A non‐owning view over a contiguous sequence of objects. |
|
A type used to gracefully handle errors across API boundaries. |
|
Builds an |
|
Test fixture granted access to |
|
A union of an object of type |
|
Internal parameters describing a pending wait on a |
|
An |
|
|
An |
The |
|
Represents information about an unrecognized flag in the command line. |
|
A type‐erased class that can be used directly within untyped API entry points. |
|
RAII helper that acquires and releases a write (exclusive) lock on a |
|
Trait class reporting whether an allocator's allocation never throws. |
|
A drop in replacement for |
|
Generates a floating‐point variate conforming to a Beta distribution: pdf(x) propto xˆ(alpha‐1) * (1‐x)ˆ(beta‐1), where the params alpha and beta are both strictly positive real values. |
|
An ordered associative container of unique keys and associated values. |
|
An ordered associative container of keys and associated values that allows equivalent keys. |
|
An ordered associative container of keys that allows equivalent keys. |
|
An ordered associative container of unique keys. |
|
A queue implemented as a linked list of fixed or variable sized blocks. |
|
A strongly‐typed integer for holding a CRC32C value. |
|
Trait reporting whether the default allocator's allocation never throws. |
|
A distribution over random integers. |
|
Generates a number conforming to an exponential distribution. |
|
An unordered associative container of unique keys and associated values, optimized for speed and memory footprint. |
|
An unordered associative container of unique keys, optimized for speed and memory footprint. |
|
The return result of a string‐to‐number conversion. |
|
Generates a number conforming to a Gaussian distribution. |
|
A signed 128‐bit integer type. |
|
https://github.com/llvm/llvm‐project/pull/127636#pullrequestreview‐2637005293 In the current implementation, __builtin_is_cpp_trivially_relocatable will only return true for types that are trivially relocatable according to the standard. Notably, this means that marking a type [[clang::trivial_abi]] aka ABSL_HAVE_ATTRIBUTE_TRIVIAL_ABI will have no effect on this trait. |
|
An insertion‐ordered map. |
|
A simple insertion‐ordered set. |
|
Returns a random variate R in range [min, max]such that floor(log(R‐min, base)) is uniformly distributed. |
|
An unordered associative container of unique keys and associated values that provides pointer stability for its elements. |
|
An unordered associative container of unique keys that provides pointer stability for its elements. |
|
Backfill for std::nontype_t. |
|
Objects of this type are used to distinguish calls to |
|
A |
|
A distribution that generates discrete Poisson‐distributed variates. |
|
An unsigned 128‐bit integer type. |
|
This distribution produces random integer values uniformly distributed in the closed (inclusive) interval [a, b]. |
|
This distribution produces random floating‐point values uniformly distributed over the half‐open interval [a, b).] |
|
A distribution over random integer‐values in the range [0, k]. |
Type Aliases
Name |
Description |
A civil‐time value aligned to the day field (YYYY‐MM‐DD). |
|
A civil‐time value aligned to the hour field (YYYY‐MM‐DD hh). |
|
A civil‐time value aligned to the minute field (YYYY‐MM‐DD hh:mm). |
|
A civil‐time value aligned to the month field (YYYY‐MM). |
|
A civil‐time value aligned to the second field (YYYY‐MM‐DD hh:mm:ss). |
|
A civil‐time value aligned to the year field (YYYY). |
|
Convenience alias for the default equality functor of Abseil hash‐based (unordered) containers. |
|
Convenience alias for the default hashing functor of Abseil hash‐based (unordered) containers. |
|
Enables a |
|
Forward declaration of the |
|
A type‐erased handle to a format argument specifically used as an argument to |
|
Defines the makeup of a format string within the |
|
A convenient general‐purpose hash functor for any hashable type |
|
A class template representing a preparsed |
|
A seed sequence conforming to [rand.req.seedseq]for use within bit generators. |
|
Provides source‐code location information for C++17 and later. |
|
The Weekday enum class represents the civil‐time concept of a "weekday" with members for all days of the week. |
|
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Uniform interface to the properties of an allocator type. |
|
Alias for |
|
Alias for |
Alias for |
|
Alias for |
|
Type alias of the difference between two civil‐time values. This type is used to indicate arguments that are not normalized (such as parameters to the civil‐time constructors), the results of civil‐time subtraction, or the operand to civil‐time addition. |
|
Type alias of a civil‐time year value. This type is guaranteed to (at least) support any year value supported by |
|
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Tag type for in‐place construction at a given index. |
|
Tag type for in‐place construction. |
|
Tag type for in‐place construction of a given type. |
|
Compile‐time sequence of |
|
Index sequence covering the given parameter pack. |
|
Compile‐time sequence of integers of a given type. |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Index sequence of the values |
|
Integer sequence of the values |
|
Deprecated alias for |
|
Deprecated alias for |
Alias for |
|
|
Deprecated alias for |
Alias for |
|
|
Uniform interface to the properties of a pointer‐like type. |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
C++17 compatible implementation of |
|
Convenience alias for |
|
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
|
Deprecated alias for |
Back‐fill of C++20's |
|
Convenience alias for |
|
|
Deprecated alias for |
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
|
Ignores the type of any its arguments and returns |
Enums
Name |
Description |
Enumerates the constructor tags used to mark an object as safe for use as a global variable. |
|
Memory accounting modes for |
|
Specifies the formatting character provided in the format string passed to |
|
Specifies the accepted conversion types as a template parameter to FormatConvertResult for custom implementations of |
|
Four severity levels are defined. Logging APIs should terminate the program when a message is logged at severity |
|
Enums representing a lower bound for LogSeverity. APIs that only operate on messages of at least a certain level (for example, |
|
Enums representing an upper bound for LogSeverity. APIs that only operate on messages of at most a certain level (for example, buffer all messages at or below a certain level) use this type to specify that level. absl::LogSeverityAtMost::kNegativeInfinity is a level below all threshold levels and therefore will exclude all log messages. |
|
Specifies how to join the error message in the original status and any additional message that has been streamed into the builder. |
|
Possible modes of operation for the deadlock detector in debug mode. |
|
Specifies the number of significant digits to return in a |
|
An enumerated type indicating either no error ("OK") or an error condition. |
|
An enumerated type indicating how |
|
Workalike compatibility version of std::chars_format from C++17. |
Functions
Name |
Description |
Creates a status with the |
|
Returns the absolute value of a duration. |
|
|
|
|
|
Argument‐dependent lookup extension point that sets a |
|
|
|
|
|
|
|
Adds a |
|
Default formatter used if none is specified. Uses |
|
Creates a status with the |
|
Appends the contents of a |
|
|
|
|
|
|
|
Converts a |
|
Produces a random boolean value with probability |
|
Produces a floating point value from a Beta distribution. |
|
Converts binary data into an ASCII text string, returning a string of size |
|
Escapes a |
|
Escapes a |
|
|
|
|
|
Returns the ceiling of a duration using the passed duration unit to its smallest value not less than the duration. |
|
Clears the set location so that backtraces will no longer be logged at it. |
|
Like |
|
Compute the CRC32C value of the provided string. |
|
Compute the CRC32C value of two concatenated buffers. |
|
Strips the |
|
Strips the |
|
|
Legacy version of |
Converts a variant to a variant of another set of types. |
|
Copies up to |
|
Copies the contents of a |
|
Constructs a seed sequence from variates produced by a bit generator. |
|
Creates a status with the |
|
Creates a status with the |
|
Records program counter values of up to |
|
|
|
Disables the processing of flags that load values from secondary sources, specifically |
|
Implements |
|
Converts a |
|
Converts a |
|
Updates the value of the Prepend Log Prefix option. |
|
Enables or disables global support for |
|
Returns whether a given string |
|
Returns whether a given ASCII string |
|
Returns whether given ASCII strings |
|
Convenience function that creates a |
|
Returns the StatusCode for |
|
Produces a floating point value from an exponential distribution. |
|
Compute a CRC32C value from an existing value and an additional buffer. |
|
Extend a CRC32C value as if trailing zero bytes were appended. |
|
Divides a |
|
Writes to a file given a format string and zero or more arguments. |
|
Creates a status with the |
|
|
|
If any leaks are detected, prints a leak report and returns true. This function may be called repeatedly, and does not affect end‐of‐process leak checking. |
|
Returns the reflection handle of an Abseil flag of the specified name, or |
|
Yields the longest prefix in common between both input strings. Pointer‐wise, the returned result is a subset of input "a". |
|
Yields the longest suffix in common between both input strings. Pointer‐wise, the returned result is a subset of input "a". |
|
Returns a TimeZone that is a fixed offset (seconds east) from UTC. Note: If the absolute value of the offset is greater than 24 hours you'll get UTC (i.e., no offset) instead. |
|
Floors a duration using the passed duration unit to its largest value not greater than the duration. |
|
Calls |
|
Writes a formatted string to an arbitrary sink object (implementing the |
|
Formats the given civil‐time value into a string value of the following format: |
|
Returns a string representing the duration in the form "72h3m0.5s". Returns "inf" or "‐inf" for +/‐ |
|
Takes a streamable argument and returns an object that can print it with '%s'. |
|
|
|
Writes a formatted string to an arbitrary sink object (implementing the |
|
|
|
Helper for TimeZone::At(CivilSecond) that provides "order‐preserving semantics." If the civil time maps to a unique time, that time is returned. If the civil time is repeated in the given time zone, the time using the pre‐transition offset is returned. Otherwise, the civil time is skipped in the given time zone, and the transition time is returned. This means that for any two civil times, ct1 and ct2, (ct1 < ct2) => (FromCivil(ct1) <= FromCivil(ct2)), the equal case being when two non‐existent civil times map to the same transition time. |
|
|
A convenience wrapper for |
Converts the |
|
Creates an |
|
Creates an |
|
Creates an |
|
Creates an |
|
Creates an |
|
Creates an |
|
Creates an |
|
Produces a floating point value from a Gaussian (Normal) distribution. |
|
Compares |
|
Returns current state of the Flags registry in a form of mapping from flag name to a flag reflection handle. |
|
Returns the internal Cordz sampling info for |
|
Returns the current time, expressed as a count of nanoseconds since the Unix Epoch (https://en.wikipedia.org/wiki/Unix_time). Prefer |
|
Returns the value (of type |
|
Returns the reflection handle corresponding to specified Abseil Flag instance. Use this handle to access flag's reflection information, like name, location, default value etc. |
|
Records program counter values for up to |
|
Records program counter values obtained from a signal handler. Records program counter values for up to |
|
Records program counter values for up to |
|
Records program counter values obtained from a signal handler. Records program counter values for up to |
|
Returns the absl::Weekday for the given (realigned) civil‐time value. |
|
Returns the day‐of‐year for the given (realigned) civil‐time value. |
|
Indicates whether the status that |
|
Generate a hash from the values of its arguments. |
|
Returns true if a leak‐checking sanitizer (either ASan or standalone LSan) is currently built into this target. |
|
|
|
|
|
|
|
No‐op fallback used when HWASAN is not available. |
|
Divides a numerator |
|
Instruct the leak sanitizer to ignore leak warnings on the object referenced by the passed pointer, as well as all heap objects transitively referenced by it. The passed object pointer can point to either the beginning of the object or anywhere within it. |
|
Returns an infinite |
|
Returns an |
|
Returns an |
|
Initializes the Abseil logging library. |
|
Initializes the program counter symbolizer, given the path of the program (typically obtained through |
|
Installs a signal handler for the common failure signals |
|
Returns the higher 64‐bit value of an |
|
Returns the lower 64‐bit value of an |
|
Returns the maximum value for a 128‐bit signed integer. |
|
Returns the minimum value for a 128‐bit signed integer. |
|
Creates a status with the |
|
Creates a status with the |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns true if a leak‐checking sanitizer (either ASan or standalone LSan) is currently built into this target and is turned on. |
|
Loads the named zone. May perform I/O on the initial load of the named zone. If the name is invalid, or some other kind of error occurs, returns |
|
Convenience method returning the local time zone, or UTC if there is no configured local zone. Warning: Be wary of using LocalTimeZone(), and particularly so in a server process, as the zone configured for the local machine should be irrelevant. Prefer an explicit zone name. |
|
Annotates its argument as a string literal so that structured logging captures it as a |
|
Returns a LogStreamer that writes at level LogSeverity::kLogDebugFatal. |
|
Returns a LogStreamer that writes at level LogSeverity::kError. |
|
Returns a LogStreamer that writes at level LogSeverity::kFatal. |
|
Returns a LogStreamer that writes at level LogSeverity::kInfo. |
|
Returns an iterable of all standard |
|
Returns the all‐caps string representation (e.g. "INFO") of the specified severity level if it is one of the standard levels and "UNKNOWN" otherwise. |
|
Produces random integral values whose logarithm is uniformly distributed. |
|
Returns a LogStreamer that writes at level LogSeverity::kWarning. |
|
|
|
Create an |
|
|
|
|
|
|
|
Creates a Cord that takes ownership of external string memory. |
|
|
|
Constructs an |
|
Constructs an |
|
|
|
Builds a status representation from an inlined rep and a message. |
|
Constructs a |
|
Serialize the current hash table profile into a string. |
|
A delimiter that limits the number of matches which can occur to the passed |
|
Copy bytes while computing the CRC32C value of the copied data. |
|
|
|
|
|
Returns the value of the Minimum Log Level parameter. |
|
|
|
|
|
Returns the absl::CivilDay that strictly follows a given absl::CivilDay, and that falls on the given absl::Weekday. |
|
|
|
Creates a status with the |
|
Returns the current time, expressed as an |
|
Creates an |
|
Returns an OK status, equivalent to a default constructed instance. |
|
Creates a status with the |
|
|
|
Parses a list of command‐line arguments, passed in the |
|
Parses a civil‐time value from the specified |
|
First parses Abseil Flags only from the command line according to the description in |
|
Parses a duration string consisting of a possibly signed sequence of decimal numbers, each with an optional fractional part and a unit suffix. The valid suffixes are "ns", "us" "ms", "s", "m", and "h". Simple examples include "300ms", "‐1.5h", and "2h45m". Parses "0" as |
|
|
|
Parses any of the formats accepted by |
|
|
|
Creates a status with the |
|
Produces a random integral value from a Poisson distribution. |
|
Moves data into the L1 cache before it is read, or "prefetches" it. |
|
Moves data into the L1 cache with the intent to modify it. |
|
Moves data into the L1 cache before it is read, or "prefetches" it. |
|
Returns the absl::CivilDay that strictly precedes a given absl::CivilDay, and that falls on the given absl::Weekday. |
|
Writes to stdout given a format string and zero or more arguments. |
|
Writes a human‐readable representation of |
|
Returns the usage message set by |
|
|
|
Registers a hook for |
|
Registers |
|
Registers a hook for mutex contention profiling. |
|
Registers a hook for |
|
Compute the CRC32C value of a buffer with a prefix removed. |
|
Compute the CRC32C value of a buffer with a suffix removed. |
|
Removes leading, trailing, and consecutive internal whitespace. |
|
Removes a |
|
Reports an error to |
|
Creates a status with the |
|
Writes to a sized buffer given a format string and zero or more arguments. |
|
|
|
Stores a copy of the string pointed to by |
|
|
|
Sets the usage reporting configuration callbacks. If any of the callbacks are not set in usage_config instance, then the default value of the callback is used. |
|
Sets the global |
|
Sets the location the backtrace should be logged at. |
|
Updates the value of Minimum Log Level parameter. |
|
Enables or disables global detection of potential deadlocks due to |
|
Sets the "usage" message to be used by help reporting routines. For example: absl::SetProgramUsageMessage( absl::StrCat("This program does nothing. Sample usage:n", argv[0], " <uselessarg1> <uselessarg2>")); Do not include commandline flags in the usage: we do that for you! Note: Calling SetProgramUsageMessage twice will trigger a call to std::exit. |
|
Provides a custom function for unwinding stack frames that will be used in place of the default stack unwinder when invoking the static GetStack{Frames,Trace}{,WithContext}() functions above. |
|
Updates the Stderr Threshold parameter. |
|
Sets the |
|
Convert a |
|
Returns the value of the Prepend Log Prefix option. |
|
Converts the given string into a boolean, returning |
|
Converts the given string into a double, returning |
|
Converts the given string into a float, returning |
|
|
|
|
|
Helper function for the default |
|
Sleeps for the specified duration, expressed as an |
|
Returns whether a given string |
|
Returns whether a given ASCII string |
|
Returns the name for the status code, or "" if it is an unknown value. |
|
Same as StatusCodeToString(), but returns a string_view. |
|
Retrieves a message's status as a null terminated C string. |
|
Returns the value of the Stderr Threshold parameter. |
|
|
|
Appends to a |
|
|
|
|
|
|
|
Returns a |
|
|
|
|
|
|
|
Writes to an output stream given a format string and zero or more arguments, generally in a manner that is more efficient than streaming the result of |
|
Formats its argument using the << operator. |
|
Resizes |
|
|
|
|
|
Returns a view into the input string |
|
Returns a view into the input string |
|
|
|
|
|
|
|
Symbolizes a program counter (instruction pointer value) |
|
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
|
Throws a |
Converts a |
|
Converts a |
|
Converts an absl::Duration to a std::chrono::hours value. |
|
Converts an absl::Duration to a std::chrono::microseconds value. |
|
Converts an absl::Duration to a std::chrono::milliseconds value. |
|
Converts an absl::Duration to a std::chrono::minutes value. |
|
Converts an absl::Duration to a std::chrono::nanoseconds value. |
|
Converts an absl::Duration to a std::chrono::seconds value. |
|
Converts an absl::Time to a std::chrono::system_clock::time_point. If overflow would occur, the returned value will saturate at the min/max time point value instead. |
|
Converts an absolute time to a day‐aligned civil time in a time zone. |
|
Converts an absolute time to an hour‐aligned civil time in a time zone. |
|
Converts an absolute time to a minute‐aligned civil time in a time zone. |
|
Converts an absolute time to a month‐aligned civil time in a time zone. |
|
Converts an absolute time to a second‐aligned civil time in a time zone. |
|
Converts an absolute time to a year‐aligned civil time in a time zone. |
|
Converts a Duration to a floating‐point count of hours. |
|
Converts a Duration to a floating‐point count of microseconds. |
|
Converts a Duration to a floating‐point count of milliseconds. |
|
Converts a Duration to a floating‐point count of minutes. |
|
Converts a Duration to a floating‐point count of nanoseconds. |
|
Converts a Duration to a floating‐point count of seconds. |
|
Converts a Duration to an integral count of hours. |
|
Converts a Duration to an integral count of microseconds. |
|
Converts a Duration to an integral count of milliseconds. |
|
Converts a Duration to an integral count of minutes. |
|
Converts a Duration to an integral count of nanoseconds. |
|
Converts a Duration to an integral count of seconds. |
|
Converts the given |
|
Converts an |
|
|
|
|
|
Converts an |
|
Converts an |
|
Converts an |
|
Converts an |
|
Converts an |
|
Converts an |
|
Truncates a duration (toward zero) to a multiple of a non‐zero unit. |
|
Convenience method returning the UTC time zone. |
|
Returns the higher 64‐bit value of a |
|
Returns the lower 64‐bit value of a |
|
Returns the highest value for a 128‐bit unsigned integer. |
|
Deregisters the pointers previously marked as active in |
|
Creates a status with the |
|
Creates a status with the |
|
|
|
Creates a status with the |
|
Returns the |
|
Returns the |
|
Creates a status with the |
|
|
|
Escapes a string so it can be safely used as a value in a URL component by replacing all characters that are not "unreserved characters" with percent‐escapes. See https://tools.ietf.org/html/rfc3986 |
|
Escapes a string so it can be safely used as a value for application/x‐www‐form‐urlencoded (HTML form submissions). |
|
Performs the inverse transformation of UrlEscape(), converting each percent‐encoded sequence of the form "%AB" into the character with the hexadecimal value 0xAB. It returns |
|
Performs the inverse transformation of UrlEscapePlus(). It returns |
|
Escapes a |
|
Escapes a |
|
Create a weak pointer from a shared pointer. |
|
|
|
Converts a |
|
Adopt ownership of a raw pointer into a |
|
Returns a zero‐length duration. This function behaves just like the default constructor, but the name helps make the semantics clear at call sites. |
|
Produces a random integral value from a Zipf distribution. |
|
|
Casts the value stored in an |
|
Invoke a callable with the elements of a tuple as arguments. |
Determines whether the given character is an alphanumeric character. |
|
Determines whether the given character is an alphabetic character. |
|
Determines whether the given character is ASCII. |
|
Determines whether the given character is a blank character (tab or space). |
|
Determines whether the given character is a control character. |
|
Determines whether the given character can be represented as a decimal digit character (i.e. {0‐9}). |
|
Determines whether the given character has a graphical representation. |
|
Determines whether the given character is lowercase. |
|
Determines whether the given character is printable, including spaces. |
|
Determines whether the given character is a punctuation character. |
|
Determines whether the given character is a whitespace character (space, tab, vertical tab, formfeed, linefeed, or carriage return). |
|
Determines whether the given character is uppercase. |
|
Determines whether the given character can be represented as a hexadecimal digit character (i.e. {0‐9} or {A‐F} or {a‐f}). |
|
Returns an ASCII character, converting to lowercase if uppercase is passed. Note that character values > 127 are simply returned. |
|
Returns the ASCII character, converting to upper‐case if lower‐case is passed. Note that characters values > 127 are simply returned. |
|
|
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
Container‐based version of the <algorithm> |
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <iterator> |
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
Container‐based version of the <numeric> |
|
|
|
|
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
|
|
Container‐based version of |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Container‐based version of the <algorithm> |
|
|
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
|
|
|
|
|
|
Container‐based version of the <algorithm> |
|
|
|
|
|
Container‐based version of the <algorithm> |
|
|
|
Container‐based version of the <algorithm> |
|
|
|
|
|
|
|
For all invocations using a given |
|
|
|
|
|
|
|
|
Replace the value of an object and return its old value. |
|
|
|
|
|
|
|
|
|
Tests whether a variant currently holds the alternative |
|
|
Detects whether the function call occurs within a constant‐evaluated context. Returns true if the evaluation of the call occurs within the evaluation of an expression or conversion that is manifestly constant‐evaluated; otherwise returns false. |
|
Performs a linear search for a value in a range. |
|
|
|
|
Construct an object of a type from the elements of a tuple. |
|
|
|
|
Modulus operators |
|
Bitwise conjunction operators |
|
Assigns to |
|
Multiplication operators |
|
Unary plus operators |
|
Unary minus operators |
|
Division operators |
|
Right shift operators |
|
Bitwise exclusive‐or operators |
|
Assigns to |
|
Bitwise disjunction operators |
|
Assigns to |
|
Bitwise negation operators |
|
|
Rotates the elements in a range so that |
|
|
|
Applies a visitor to the alternatives of one or more variants (deprecated). |
Left shift operators |
|
Returns the logical negation of |
|
Equality operators |
|
Inequality operators |
|
Less‐than operators |
|
Less‐than‐or‐equal operators |
|
Greater‐than operators |
|
Greater‐than‐or‐equal operators |
|
Three‐way comparison operators |
Variables
Name |
Description |
Tag selecting a closed interval [lo, hi]for |
|
Tag selecting a closed‐closed interval [lo, hi]for |
|
Tag selecting a closed‐open interval [lo, hi) for |
|
Tag selecting an open interval (lo, hi) for |
|
Tag selecting an open‐closed interval (lo, hi] for |
|
Tag selecting an open‐open interval (lo, hi) for |
|
FormatTime()/ParseTime() format specifier for RFC1123 date/time strings. |
|
FormatTime()/ParseTime() format specifier for RFC1123 date/time strings without the weekday name. |
|
FormatTime()/ParseTime() format specifier for RFC3339 date/time strings, with trailing zeros trimmed. |
|
FormatTime()/ParseTime() format specifier for RFC3339 date/time strings, with fractional seconds omitted altogether. |
|
|
Disambiguation tag for in‐place construction. |
|
Disambiguation tag for in‐place construction at a given index. |
|
Disambiguation tag for in‐place construction of a given type. |
Disambiguation tag value of type |
|
Alias for |
|
Alias for |
Using Declarations
Name |
Description |
Binds the last N arguments of an invocable object and stores them by value. |
|
Binds the first N arguments of an invocable object and stores them by value. |
|
Alias for |
|
Returns the smallest power of two not less than |
|
Returns the largest power of two not greater than |
|
Returns the number of bits needed to represent the value of |
|
Reverses the bytes in the given integer value |
|
Counts the number of consecutive one bits starting from the most significant bit of |
|
Counts the number of consecutive zero bits starting from the most significant bit of |
|
Counts the number of consecutive one bits starting from the least significant bit of |
|
Counts the number of consecutive zero bits starting from the least significant bit of |
|
Indicates the endianness of all scalar types. |
|
Determines whether |
|
Create a |
|
Create a |
|
Alias for |
|
Alias for |
|
Result of a three‐way comparison that may be unordered. |
|
Counts the number of one bits in the value of |
|
Rotates the bits of |
|
Rotates the bits of |
|
An alias for |
|
Result of a three‐way comparison that is strongly ordered. |
|
Result of a three‐way comparison that is weakly ordered. |
absl::any_span_adaptor namespace
Utilities for adapting objects to the interface that AnySpan expects.
Types
Name |
Description |
Adapts a pair of iterators into a container‐like object for |
Functions
Name |
Description |
Returns a |
|
Returns a |
absl::any_span_transform namespace
Accessors returning Transform functors that may be passed to AnySpan.
Types
Name |
Description |
Functor that dereferences whatever is passed to it. |
|
Functor that returns whatever is passed to it unchanged. |
absl::internal_stacktrace namespace
Low‐level stack trace helpers shared by the public GetStack*() routines.
Functions
Name |
Description |
Fixes up the stack trace of the current thread, in the first |
|
Same as |
|
Returns true if the platform's stack unwinder is expected to need fix‐ups applied via |
Created with MrDocs