diff options
Diffstat (limited to 'doc/html/align')
-rw-r--r-- | doc/html/align/acknowledgments.html | 2 | ||||
-rw-r--r-- | doc/html/align/compatibility.html | 2 | ||||
-rw-r--r-- | doc/html/align/examples.html | 26 | ||||
-rw-r--r-- | doc/html/align/history.html | 4 | ||||
-rw-r--r-- | doc/html/align/rationale.html | 6 | ||||
-rw-r--r-- | doc/html/align/reference.html | 6 | ||||
-rw-r--r-- | doc/html/align/vocabulary.html | 2 |
7 files changed, 18 insertions, 30 deletions
diff --git a/doc/html/align/acknowledgments.html b/doc/html/align/acknowledgments.html index a7b3494951..698c7162b1 100644 --- a/doc/html/align/acknowledgments.html +++ b/doc/html/align/acknowledgments.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="compatibility.html" title="Compatibility"> <link rel="next" href="history.html" title="History"> </head> diff --git a/doc/html/align/compatibility.html b/doc/html/align/compatibility.html index 4c06be06c8..03c19b8453 100644 --- a/doc/html/align/compatibility.html +++ b/doc/html/align/compatibility.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="vocabulary.html" title="Vocabulary"> <link rel="next" href="acknowledgments.html" title="Acknowledgments"> </head> diff --git a/doc/html/align/examples.html b/doc/html/align/examples.html index d2cd52321e..08d2ecf5e2 100644 --- a/doc/html/align/examples.html +++ b/doc/html/align/examples.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="rationale.html" title="Rationale"> <link rel="next" href="reference.html" title="Reference"> </head> @@ -79,27 +79,15 @@ use the <code class="computeroutput"><span class="identifier">aligned_allocator_adaptor</span></code> class template: </p> -<div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"> - <code class="computeroutput"><span class="identifier">Allocator</span><span class="special"><</span><span class="identifier">int128_t</span><span class="special">></span> - <span class="identifier">first</span><span class="special">;</span></code> - </li> -<li class="listitem"> - <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">alignment</span><span class="special">::</span><span class="identifier">aligned_allocator_adaptor</span><span class="special"><</span><span class="identifier">Allocator</span><span class="special"><</span><span class="identifier">int128_t</span><span class="special">></span> - <span class="special">></span> <span class="identifier">second</span><span class="special">(</span><span class="identifier">first</span><span class="special">);</span></code> - </li> -</ol></div> +<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> + <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">alignment</span><span class="special">::</span><span class="identifier">aligned_allocator_adaptor</span><span class="special"><</span><span class="identifier">First</span><span class="special">></span> <span class="identifier">second</span><span class="special">(</span><span class="identifier">first</span><span class="special">);</span></code> + </li></ol></div> <p> This template allows specifying minimum alignment for all dynamic allocations: </p> -<div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"> - <code class="computeroutput"><span class="identifier">Allocator</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">first</span><span class="special">;</span></code> - </li> -<li class="listitem"> - <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">alignment</span><span class="special">::</span><span class="identifier">aligned_allocator_adaptor</span><span class="special"><</span><span class="identifier">Allocator</span><span class="special"><</span><span class="keyword">double</span><span class="special">>,</span> <span class="number">64</span><span class="special">></span> <span class="identifier">second</span><span class="special">(</span><span class="identifier">first</span><span class="special">);</span></code> - </li> -</ol></div> +<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> + <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">alignment</span><span class="special">::</span><span class="identifier">aligned_allocator_adaptor</span><span class="special"><</span><span class="identifier">First</span><span class="special">,</span> <span class="number">64</span><span class="special">></span> <span class="identifier">second</span><span class="special">(</span><span class="identifier">first</span><span class="special">);</span></code> + </li></ol></div> <h4> <a name="align.examples.h3"></a> <span class="phrase"><a name="align.examples.aligned_deleter"></a></span><a class="link" href="examples.html#align.examples.aligned_deleter">Aligned diff --git a/doc/html/align/history.html b/doc/html/align/history.html index 645bd9d6c0..886e05399c 100644 --- a/doc/html/align/history.html +++ b/doc/html/align/history.html @@ -6,9 +6,9 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="acknowledgments.html" title="Acknowledgments"> -<link rel="next" href="../any.html" title="Chapter 5. Boost.Any"> +<link rel="next" href="../any.html" title="Chapter 4. Boost.Any"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> diff --git a/doc/html/align/rationale.html b/doc/html/align/rationale.html index 2782b673ba..6a2c778dbd 100644 --- a/doc/html/align/rationale.html +++ b/doc/html/align/rationale.html @@ -6,8 +6,8 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> -<link rel="prev" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> +<link rel="prev" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="next" href="examples.html" title="Examples"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -78,7 +78,7 @@ C++11 provided <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">align</span></code> in the standard library to align a pointer value. Unfortunately some C++ standard library implementations do not support it yet (libstdc++ as far as gcc 4.8.0) and other standard library implementations - implement it incorrectly (dinkumware in msvc 11.0). This library provides it + implement it incorrectly (dinkumware in msvc11.0). This library provides it for those implementations and also for C++03 compilers where it is equally useful. </p> diff --git a/doc/html/align/reference.html b/doc/html/align/reference.html index 67af6a8676..5638dfe4c2 100644 --- a/doc/html/align/reference.html +++ b/doc/html/align/reference.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="examples.html" title="Examples"> <link rel="next" href="vocabulary.html" title="Vocabulary"> </head> @@ -608,8 +608,8 @@ </h6> <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> - <code class="computeroutput"><span class="keyword">typedef</span> <span class="identifier">Allocator</span><span class="special">::</span><span class="identifier">value_type</span> - <span class="identifier">value_type</span><span class="special">;</span></code> + <code class="computeroutput"><span class="keyword">typedef</span> <span class="keyword">typename</span> + <span class="identifier">Allocator</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">value_type</span><span class="special">;</span></code> </li> <li class="listitem"> <code class="computeroutput"><span class="keyword">typedef</span> <span class="identifier">value_type</span><span class="special">*</span> <span class="identifier">pointer</span><span class="special">;</span></code> diff --git a/doc/html/align/vocabulary.html b/doc/html/align/vocabulary.html index f7f9345fbf..e05189a65d 100644 --- a/doc/html/align/vocabulary.html +++ b/doc/html/align/vocabulary.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../align.html" title="Chapter 4. Boost.Align"> +<link rel="up" href="../align.html" title="Chapter 3. Boost.Align"> <link rel="prev" href="reference.html" title="Reference"> <link rel="next" href="compatibility.html" title="Compatibility"> </head> |