diff options
author | Abseil Team <absl-team@google.com> | 2018-04-09T17·01-0700 |
---|---|---|
committer | Matt Calabrese <calabrese@x.team> | 2018-04-10T14·27-0400 |
commit | 475d64f2de7403a01b1b36c487328ed41d29c20c (patch) | |
tree | c772600eaaacdcdde3576f3e4f74332dc231c419 | |
parent | 3f622d6c5990a7ae80eb8e52450c309a28bbec77 (diff) |
- edb38790ce245c95715e5c50dfafb0db79d2cdc4 Add quickstart and build sections to readme. by Alex Strelnikov <strel@google.com>
- 508b3da428bc79cab730aa57109b352a58820573 Fix accidentally qualifying std int types with absl:: in ... by Alex Strelnikov <strel@google.com> GitOrigin-RevId: edb38790ce245c95715e5c50dfafb0db79d2cdc4 Change-Id: Idf72547f30c72fbb4153d5eae6b59b499ec42955
-rw-r--r-- | README.md | 28 | ||||
-rw-r--r-- | absl/numeric/int128.h | 4 |
2 files changed, 24 insertions, 8 deletions
diff --git a/README.md b/README.md index 7150c8ed34b6..8eed5751bf54 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,11 @@ standard library. ## Table of Contents - [About Abseil](#about) +- [Quickstart](#quickstart) +- [Building Abseil](#build) - [Codemap](#codemap) - [License](#license) - [Links](#links) -- [Build with cmake](#cmake) <a name="about"></a> ## About Abseil @@ -30,6 +31,26 @@ just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole. +<a name="quickstart"></a> +## Quickstart + +If you want to just get started, make sure you at least run through the +[Abseil Quickstart](https://abseil.io/docs/cpp/quickstart). The Quickstart +contains information about setting up your development environment, downloading +the Abseil code, running tests, and getting a simple binary working. + +<a name="build"></a> +## Building Abseil + +[Bazel](http://bazel.build) is the official build system for Abseil, +which is supported on most major platforms (Linux, Windows, MacOS, for example) +and compilers. See the [quickstart](https://abseil.io/docs/cpp/quickstart) for +more information on building Abseil using the Bazel build system. + +<a name="cmake"></a> +If you require CMake support, please check the +[CMake build instructions](CMake/README.md). + ## Codemap Abseil contains the following C++ library components: @@ -85,8 +106,3 @@ For more information about Abseil: * Peruse our [Abseil Compatibility Guarantees](http://abseil.io/about/compatibility) to understand both what we promise to you, and what we expect of you in return. - -<a name="cmake"></a> -## Build with CMake - -Please check the [CMake build instructions](CMake/README.md) diff --git a/absl/numeric/int128.h b/absl/numeric/int128.h index 803f0ff23ab8..bc7dbb47ae81 100644 --- a/absl/numeric/int128.h +++ b/absl/numeric/int128.h @@ -80,8 +80,8 @@ namespace absl { // // converted to float. // // absl::uint128 v; -// absl::uint64_t i = v; // Error -// absl::uint64_t i = static_cast<uint64_t>(v); // OK +// uint64_t i = v; // Error +// uint64_t i = static_cast<uint64_t>(v); // OK // class #if defined(ABSL_HAVE_INTRINSIC_INT128) |