mcpp index

compat.abseil

#include

Abseil — Google's C++ common libraries (LTS 20250512.1, static)

#include "absl/strings/str_cat.h"

Curated in .xpkgindex/interfaces.json.

mcpp add compat.abseil@20250512.1

Usage

From this repository's own test project — built and run by CI, not written for the website.

// Behavioral test for compat.abseil.
//
// Every assertion below crosses into a COMPILED Abseil translation unit, on
// purpose — header-only usage would link zero objects from the package and
// still go green, which is exactly the failure this suite has to catch:
//
//   absl::StrCat / StrSplit / StrJoin  -> absl/strings/*.cc
//   absl::Status / StatusOr            -> absl/status/status.cc, statusor.cc
//   absl::Mutex / Notification         -> absl/synchronization/mutex.cc
//   absl::Cord                         -> absl/strings/cord.cc + cord_rep_*.cc
//   absl::FormatTime / ParseTime       -> absl/time/*.cc + internal/cctz/src/*.cc
//   absl::flat_hash_map                -> absl/container/internal/raw_hash_set.cc
//   absl::StrFormat                    -> absl/strings/internal/str_format/*.cc
//
// Returns non-zero on any mismatch.
#include <string>
#include <thread>
#include <vector>

#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
// …

tests/examples/abseil/tests/basics.cpp · project tests/examples/abseil

Build

targets
abseil (lib)
language
c++23
import std
no
include dirs
*

Sources (22)

  • */absl/**/*.cc
  • !*/absl/**/*_test.cc
  • !*/absl/**/*_test_common.cc
  • !*/absl/**/*_testing.cc
  • !*/absl/**/*_benchmark.cc
  • !*/absl/**/*_benchmarks.cc
  • !*/absl/log/internal/test_actions.cc
  • !*/absl/log/internal/test_helpers.cc
  • !*/absl/log/internal/test_matchers.cc
  • !*/absl/log/scoped_mock_log.cc
  • !*/absl/status/internal/status_matchers.cc
  • !*/absl/random/benchmarks.cc
  • !*/absl/base/internal/atomic_hook_test_helper.cc
  • !*/absl/base/internal/scoped_set_env.cc
  • !*/absl/container/internal/test_instance_tracker.cc
  • !*/absl/debugging/internal/stack_consumption.cc
  • !*/absl/flags/flag_test_defs.cc
  • !*/absl/random/internal/chi_square.cc
  • !*/absl/random/internal/nanobenchmark.cc
  • !*/absl/strings/internal/pow10_helper.cc
  • !*/absl/hash/internal/print_hash_of.cc
  • !*/absl/random/internal/gaussian_distribution_gentables.cc

Versions

VersionPlatforms Mirrorssha256
20250512.1 latest LinuxWindowsmacOS CN GLOBAL 9b7a064305e9…