Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
08760add
Commit
08760add
authored
Apr 20, 2018
by
Bruce Mitchener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos.
parent
5b535401
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
15 deletions
+15
-15
absl/algorithm/container.h
+1
-1
absl/base/casts.h
+1
-1
absl/base/config.h
+1
-1
absl/container/inlined_vector.h
+1
-1
absl/meta/type_traits.h
+3
-3
absl/strings/ascii.h
+2
-2
absl/types/any.h
+5
-5
absl/types/span.h
+1
-1
No files found.
absl/algorithm/container.h
View file @
08760add
...
...
@@ -1578,7 +1578,7 @@ decay_t<T> c_inner_product(const Sequence1& factors1, const Sequence2& factors2,
}
// Overload of c_inner_product() for using binary operations other than
// `operator+` (for computing the accumlation) and `operator*` (for computing
// `operator+` (for computing the accum
u
lation) and `operator*` (for computing
// the product between the two container's element pair).
template
<
typename
Sequence1
,
typename
Sequence2
,
typename
T
,
typename
BinaryOp1
,
typename
BinaryOp2
>
...
...
absl/base/casts.h
View file @
08760add
...
...
@@ -123,7 +123,7 @@ inline To implicit_cast(typename absl::internal::identity_t<To> to) {
//
// Such casting results in type punning: holding an object in memory of one type
// and reading its bits back using a different type. A `bit_cast()` avoids this
// issue by implement
at
ing its casts using `memcpy()`, which avoids introducing
// issue by implementing its casts using `memcpy()`, which avoids introducing
// this undefined behavior.
template
<
typename
Dest
,
typename
Source
>
inline
Dest
bit_cast
(
const
Source
&
source
)
{
...
...
absl/base/config.h
View file @
08760add
...
...
@@ -299,7 +299,7 @@
// family of functions as standardized in POSIX.1-2001.
//
// Note: While Apple provides <semaphore.h> for both iOS and macOS, it is
// explicity deprecated and will cause build failures if enabled for those
// explicit
l
y deprecated and will cause build failures if enabled for those
// platforms. We side-step the issue by not defining it here for Apple
// platforms.
#ifdef ABSL_HAVE_SEMAPHORE_H
...
...
absl/container/inlined_vector.h
View file @
08760add
...
...
@@ -549,7 +549,7 @@ class InlinedVector {
}
// Overload of InlinedVector::erase() for erasing all elements in the
// itera
r
or range [first, last) in the inlined vector, returning an iterator
// itera
t
or range [first, last) in the inlined vector, returning an iterator
// pointing to the first element following the range erased, or the
// container's end if range included the container's last element.
iterator
erase
(
const_iterator
first
,
const_iterator
last
);
...
...
absl/meta/type_traits.h
View file @
08760add
...
...
@@ -72,7 +72,7 @@ struct default_alignment_of_aligned_storage<Len,
// `std::void_t` metafunction.
//
// NOTE: `absl::void_t` does not use the standard-specified implementation so
// that it can remain compatib
i
le with gcc < 5.1. This can introduce slightly
// that it can remain compatible with gcc < 5.1. This can introduce slightly
// different behavior, such as when ordering partial specializations.
template
<
typename
...
Ts
>
using
void_t
=
typename
type_traits_internal
::
VoidTImpl
<
Ts
...
>::
type
;
...
...
@@ -193,7 +193,7 @@ struct is_trivially_destructible
// LWG issue 2116: http://cplusplus.github.io/LWG/lwg-active.html#2116.
//
// "T obj();" need to be well-formed and not call any nontrivial operation.
// Nontrivally destructible types will cause the expression to be nontrivial.
// Nontriv
i
ally destructible types will cause the expression to be nontrivial.
template
<
typename
T
>
struct
is_trivially_default_constructible
:
std
::
integral_constant
<
bool
,
__has_trivial_constructor
(
T
)
&&
...
...
@@ -224,7 +224,7 @@ struct is_trivially_default_constructible
// implementation.
//
// NOTE: `T obj(declval<const T&>());` needs to be well-formed and not call any
// nontrivial operation. Nontrivally destructible types will cause the
// nontrivial operation. Nontriv
i
ally destructible types will cause the
// expression to be nontrivial.
template
<
typename
T
>
struct
is_trivially_copy_constructible
...
...
absl/strings/ascii.h
View file @
08760add
...
...
@@ -34,7 +34,7 @@
// `ascii_iscntrl()`, `ascii_isdigit()`, `ascii_isgraph()`, `ascii_islower()`,
// `ascii_isprint()`, `ascii_ispunct()`, `ascii_isspace()`, `ascii_isupper()`,
// `ascii_isxdigit()`
// Anal
a
gous to the <ctype.h> functions with similar names, these
// Anal
o
gous to the <ctype.h> functions with similar names, these
// functions take an unsigned char and return a bool, based on whether the
// character matches the condition specified.
//
...
...
@@ -42,7 +42,7 @@
// functions return `false`.
//
// `ascii_tolower()`, `ascii_toupper()`
// Anal
a
gous to the <ctype.h> functions with similar names, these functions
// Anal
o
gous to the <ctype.h> functions with similar names, these functions
// take an unsigned char and return a char.
//
// If the input character is not an ASCII {lower,upper}-case letter (including
...
...
absl/types/any.h
View file @
08760add
...
...
@@ -191,13 +191,13 @@ ValueType* any_cast(any* operand) noexcept;
// auto c = absl::any(std::move(my_foo)); // Error, not copy-constructable
//
// Note that `absl::any` makes use of decayed types (`absl::decay_t` in this
// context) to remove const-volati
v
e qualifiers (known as "cv qualifiers"),
// context) to remove const-volati
l
e qualifiers (known as "cv qualifiers"),
// decay functions to function pointers, etc. We essentially "decay" a given
// type into its essential type.
//
// `absl::any` makes use of decayed types when determing the basic type `T` of
// `absl::any` makes use of decayed types when determin
in
g the basic type `T` of
// the value to store in the any's contained object. In the documentation below,
// we explcitly denote this by using the phrase "a decayed type of `T`".
// we expl
i
citly denote this by using the phrase "a decayed type of `T`".
//
// Example:
//
...
...
@@ -322,7 +322,7 @@ class any {
// Overload of `any::emplace()` to emplace a value within an `absl::any`
// object by calling `any::reset()`, initializing the contained value as if
// direct-non-list-initializing an object of type `VT` with the arguments
// `initilizer_list, std::forward<Args>(args)...`, and returning a reference
// `initi
a
lizer_list, std::forward<Args>(args)...`, and returning a reference
// to the new contained value.
//
// Note: If an exception is thrown during the call to `VT`'s constructor,
...
...
@@ -354,7 +354,7 @@ class any {
// Swaps the passed value and the value of this `absl::any` object.
void
swap
(
any
&
other
)
noexcept
{
obj_
.
swap
(
other
.
obj_
);
}
// Observ
o
rs
// Observ
e
rs
// any::has_value()
//
...
...
absl/types/span.h
View file @
08760add
...
...
@@ -224,7 +224,7 @@ using EnableIfConvertibleToSpanConst =
// point to remains alive, must also ensure that such memory does not get
// reallocated. Therefore, to avoid undefined behavior, containers with
// associated span views should not invoke operations that may reallocate memory
// (such as resizing) or invalidate itera
r
ors into the container.
// (such as resizing) or invalidate itera
t
ors into the container.
//
// One common use for a `Span` is when passing arguments to a routine that can
// accept a variety of array types (e.g. a `std::vector`, `absl::InlinedVector`,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment