mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-09-19 14:22:31 +00:00
Replaced HTTP where HTTPS been awailable.
This commit is contained in:
+21
-21
@@ -617,7 +617,7 @@ bool UpdateInternals(Frobber* f, int newval) {
|
||||
|
||||
<p>Namespaces wrap the entire source file after
|
||||
includes,
|
||||
<a href="http://gflags.github.io/gflags/">
|
||||
<a href="https://gflags.github.io/gflags/">
|
||||
gflags</a> definitions/declarations
|
||||
and forward declarations of classes from other namespaces.</p>
|
||||
|
||||
@@ -1155,7 +1155,7 @@ in some cases.</p>
|
||||
operations for them can be confusing, nonsensical, or outright
|
||||
incorrect. Copy/assigment operations for base class types are
|
||||
hazardous, because use of them can lead to
|
||||
<a href="http://en.wikipedia.org/wiki/Object_slicing">object
|
||||
<a href="https://en.wikipedia.org/wiki/Object_slicing">object
|
||||
slicing</a>. Defaulted or carelessly-implemented copy operations
|
||||
can be incorrect, and the resulting bugs can be confusing and
|
||||
difficult to diagnose.</p>
|
||||
@@ -1689,7 +1689,7 @@ reasons, we allow data members of a test fixture class to
|
||||
be <code>protected</code> when using
|
||||
|
||||
|
||||
<a href="http://code.google.com/p/googletest/">Google
|
||||
<a href="https://code.google.com/p/googletest/">Google
|
||||
Test</a>).</p>
|
||||
</div>
|
||||
|
||||
@@ -2715,7 +2715,7 @@ may select a different overload than you expect).</li>
|
||||
<li>The practice of building up output through chains
|
||||
of <code><<</code> operators interferes with
|
||||
internationalization, because it bakes word order into the
|
||||
code, and streams' support for localization is <a href="http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/rationale.html#rationale_why">
|
||||
code, and streams' support for localization is <a href="https://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/rationale.html#rationale_why">
|
||||
flawed</a>.</li>
|
||||
|
||||
|
||||
@@ -3763,7 +3763,7 @@ collection.</p>
|
||||
|
||||
<div class="definition">
|
||||
<p> The
|
||||
<a href="http://www.boost.org/">
|
||||
<a href="https://www.boost.org/">
|
||||
Boost library collection</a> is a popular collection of
|
||||
peer-reviewed, free, open-source C++ libraries.</p>
|
||||
</div>
|
||||
@@ -3793,27 +3793,27 @@ Currently, the following libraries are permitted:</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://www.boost.org/libs/utility/call_traits.htm">
|
||||
<a href="https://www.boost.org/libs/utility/call_traits.htm">
|
||||
Call Traits</a> from <code>boost/call_traits.hpp</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/utility/compressed_pair.htm">
|
||||
<li><a href="https://www.boost.org/libs/utility/compressed_pair.htm">
|
||||
Compressed Pair</a> from <code>boost/compressed_pair.hpp</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/graph/">
|
||||
<li><a href="https://www.boost.org/libs/graph/">
|
||||
The Boost Graph Library (BGL)</a> from <code>boost/graph</code>,
|
||||
except serialization (<code>adj_list_serialize.hpp</code>) and
|
||||
parallel/distributed algorithms and data structures
|
||||
(<code>boost/graph/parallel/*</code> and
|
||||
<code>boost/graph/distributed/*</code>).</li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/property_map/">
|
||||
<li><a href="https://www.boost.org/libs/property_map/">
|
||||
Property Map</a> from <code>boost/property_map</code>, except
|
||||
parallel/distributed property maps (<code>boost/property_map/parallel/*</code>).</li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/iterator/">
|
||||
<li><a href="https://www.boost.org/libs/iterator/">
|
||||
Iterator</a> from <code>boost/iterator</code></li>
|
||||
|
||||
<li>The part of <a href="http://www.boost.org/libs/polygon/">
|
||||
<li>The part of <a href="https://www.boost.org/libs/polygon/">
|
||||
Polygon</a> that deals with Voronoi diagram
|
||||
construction and doesn't depend on the rest of
|
||||
Polygon:
|
||||
@@ -3821,25 +3821,25 @@ Currently, the following libraries are permitted:</p>
|
||||
<code>boost/polygon/voronoi_diagram.hpp</code>, and
|
||||
<code>boost/polygon/voronoi_geometry_type.hpp</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/bimap/">
|
||||
<li><a href="https://www.boost.org/libs/bimap/">
|
||||
Bimap</a> from <code>boost/bimap</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/math/doc/html/dist.html">
|
||||
<li><a href="https://www.boost.org/libs/math/doc/html/dist.html">
|
||||
Statistical Distributions and Functions</a> from
|
||||
<code>boost/math/distributions</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/multi_index/">
|
||||
<li><a href="https://www.boost.org/libs/multi_index/">
|
||||
Multi-index</a> from <code>boost/multi_index</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/heap/">
|
||||
<li><a href="https://www.boost.org/libs/heap/">
|
||||
Heap</a> from <code>boost/heap</code></li>
|
||||
|
||||
<li>The flat containers from <a href="http://www.boost.org/libs/container/">
|
||||
<li>The flat containers from <a href="https://www.boost.org/libs/container/">
|
||||
Container</a>:
|
||||
<code>boost/container/flat_map</code>, and
|
||||
<code>boost/container/flat_set</code></li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/intrusive/">
|
||||
<li><a href="https://www.boost.org/libs/intrusive/">
|
||||
Intrusive</a> from <code>boost/intrusive</code>.</li>
|
||||
</ul>
|
||||
|
||||
@@ -3853,12 +3853,12 @@ is discouraged because they've been superseded by
|
||||
standard libraries in C++11:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://www.boost.org/libs/array/">
|
||||
<li><a href="https://www.boost.org/libs/array/">
|
||||
Array</a> from <code>boost/array.hpp</code>: use
|
||||
<a href="http://en.cppreference.com/w/cpp/container/array">
|
||||
<code>std::array</code></a> instead.</li>
|
||||
|
||||
<li><a href="http://www.boost.org/libs/ptr_container/">
|
||||
<li><a href="https://www.boost.org/libs/ptr_container/">
|
||||
Pointer Container</a> from <code>boost/ptr_container</code>: use containers of
|
||||
<a href="http://en.cppreference.com/w/cpp/memory/unique_ptr">
|
||||
<code>std::unique_ptr</code></a> instead.</li>
|
||||
@@ -3910,7 +3910,7 @@ the former, but the latter requires expertise that a type author
|
||||
usually doesn't have, and shouldn't need. The stakes here are high
|
||||
because low-quality hash functions can be security vulnerabilities,
|
||||
due to the emergence of
|
||||
<a href="http://emboss.github.io/blog/2012/12/14/breaking-murmur-hash-flooding-dos-reloaded/">
|
||||
<a href="https://emboss.github.io/blog/2012/12/14/breaking-murmur-hash-flooding-dos-reloaded/">
|
||||
hash flooding attacks</a>.</p>
|
||||
|
||||
<p>Even for experts, <code>std::hash</code> specializations are
|
||||
@@ -3963,7 +3963,7 @@ project. </p>
|
||||
<div class="stylebody">
|
||||
|
||||
<div class="definition">
|
||||
<p> C++11 contains <a href="http://en.wikipedia.org/wiki/C%2B%2B11">
|
||||
<p> C++11 contains <a href="https://en.wikipedia.org/wiki/C%2B%2B11">
|
||||
significant changes</a> both to the language and
|
||||
libraries. </p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user