2011-05-27 19:37:11 +00:00
< html xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns = "http://www.w3.org/TR/REC-html40" >
< head >
< meta name = "GENERATOR" content = "Microsoft FrontPage 5.0" >
< meta name = "ProgId" content = "FrontPage.Editor.Document" >
< meta http-equiv = "Content-Type" content = "text/html; charset=windows-1252" >
< title > Boost Endian Library</ title >
< link rel = "stylesheet" type = "text/css" href = "../../../doc/src/minimal.css" >
</ head >
< body >
< table border = "0" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" width = "710" >
< tr >
< td width = "277" >
< a href = "../../../index.html" >
2011-05-27 20:18:13 +00:00
< img src = "../../../boost.png" alt = "boost.png (6897 bytes)" align = "middle" border = "0" width = "277" height = "86" ></ a ></ td >
2011-05-27 19:37:11 +00:00
< td width = "413" align = "middle" >
< font size = "7" > Endian Library</ font ></ td >
</ tr >
</ table >
< table border = "0" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" bgcolor = "#D7EEFF" width = "100%" >
< tr >
2011-09-04 18:12:44 +00:00
< td >< b >< a href = "../../../index.htm" > Boost Home</ a >
2011-05-27 20:18:13 +00:00
< a href = "index.html" > Endian Home</ a >
2011-09-04 13:51:49 +00:00
< a href = "conversion.html" > Conversion Functions</ a >
2013-05-20 15:04:33 -04:00
< a href = "types.html" > Endian Types</ a > Tutorial</ b ></ td >
2011-05-27 19:37:11 +00:00
</ tr >
</ table >
2011-09-04 13:51:49 +00:00
< table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" align = "right" >
< tr >
< td width = "100%" bgcolor = "#D7EEFF" align = "center" >
< i >< b > Contents</ b ></ i ></ td >
</ tr >
< tr >
< td width = "100%" bgcolor = "#E8F5FF" >
< a href = "#Abstract" > Abstract</ a >< br >
< a href = "#Introduction-to-endianness" > Introduction to endianness</ a >< br >
< a href = "#Introduction" > Introduction to the Boost.Endian library</ a >< br >
< a href = "#Acknowledgements" > Acknowledgements</ a ></ td >
</ tr >
< tr >
< td width = "100%" bgcolor = "#D7EEFF" align = "center" >
< b >< i > Headers</ i ></ b ></ td >
</ tr >
< tr >
< td width = "100%" bgcolor = "#E8F5FF" >
< a href = "../../../boost/endian/conversion.hpp" > < boost/endian/conversion.hpp> </ a >< br >
2013-05-20 09:07:01 -04:00
< a href = "../../../boost/endian/types.hpp" > < boost/endian/types.hpp> </ a ></ td >
2011-09-04 13:51:49 +00:00
</ tr >
</ table >
< h2 >< a name = "Abstract" > Abstract</ a ></ h2 >
2013-05-20 15:04:33 -04:00
< p > Boost.Endian provides two facilities to manipulate the byte ordering of integers.</ p >
2011-09-04 13:51:49 +00:00
< ul >
< li > The primary use case is binary I/O of integers for portable exchange with
other systems, via either file or network transmission.< br >
</ li >
< li > A secondary use case is minimizing storage size via integers of sizes
and/or alignments not supported by the built-in types. Integers 1, 2, 3, 4, 5,
6, 7, and 8 bytes in length are supported.< br >
</ li >
< li > Two distinct approaches to byte ordering are provided. Each approach has a
long history of successful use, and each approach has use cases where it is
2013-05-20 15:04:33 -04:00
superior to the other approach.</ li >
2011-09-04 13:51:49 +00:00
</ ul >
2011-05-27 19:37:11 +00:00
< h2 >< a name = "Introduction-to-endianness" > Introduction to endianness</ a ></ h2 >
2011-09-03 21:33:34 +00:00
< p > Consider the following code:</ p >
2011-05-27 19:37:11 +00:00
2011-09-03 21:33:34 +00:00
< blockquote >
< pre > int16_t i = 0x0102;
2013-05-20 15:04:33 -04:00
FILE * file = fopen(" test.bin" , " wb" ); // MUST BE BINARY
2011-09-03 21:33:34 +00:00
fwrite(& i, sizeof(int16_t), 1, file);
fclose(file);</ pre >
</ blockquote >
2013-05-20 15:04:33 -04:00
< p > On OS X, Linux, or Windows systems with an Intel CPU, a hex dump
of the " test.bin" output file produces:</ p >
2011-09-03 21:33:34 +00:00
< blockquote >
< p >< code > 0201</ code ></ p >
</ blockquote >
2013-05-20 15:04:33 -04:00
< p > On OS X systems with a PowerPC CPU, or Solaris systems with a SPARC CPU, a hex dump of the " test.bin"
2011-09-03 21:33:34 +00:00
output file produces:</ p >
< blockquote >
< p >< code > 0102</ code ></ p >
</ blockquote >
< p > What's happening here is that Intel CPU's order the bytes of an integer with
the least-significant byte first, while SPARC CPU's place the most-significant
byte first. Some CPU's, such as the PowerPC, allow the operating system to
choose which ordering applies.</ p >
2011-09-04 13:51:49 +00:00
< p >< a name = "definition" ></ a > Most-significant-byte-first ordering is traditionally called " big endian"
ordering and the least-significant-byte-first is traditionally called
2011-09-03 21:33:34 +00:00
" little-endian" ordering. The names are derived from
2011-05-27 19:37:11 +00:00
< a href = "http://en.wikipedia.org/wiki/Jonathan_Swift" title = "Jonathan Swift" >
Jonathan Swift</ a > 's satirical novel < i >
< a href = "http://en.wikipedia.org/wiki/Gulliver's_Travels" title = "Gulliver's Travels" >
2011-09-04 13:51:49 +00:00
Gulliver’ s Travels</ a ></ i > , where rival kingdoms opened their soft-boiled eggs
2011-05-27 19:37:11 +00:00
at different ends.</ p >
2011-09-04 13:51:49 +00:00
< p > See the Wikipedia's
< a href = "http://en.wikipedia.org/wiki/Endianness" > Endianness</ a > article for an
extensive discussion of endianness.</ p >
2013-05-20 15:04:33 -04:00
< p > Except for reading a core dump on little-endian systems, most programmers can
ignore endianness. But when exchanging binary integers and binary floating point
values between computer systems with differing endianness, whether by physical file transfer or over a network, programmers have to deal with endianness
in their code. </ p >
2011-09-04 13:51:49 +00:00
< h2 >< a name = "Introduction" > Introduction</ a > to the Boost.Endian library</ h2 >
2011-05-27 19:37:11 +00:00
2013-05-20 08:47:38 -04:00
< p > The Boost.Endian library provides two facilities for dealing with endianness.</ p >
2011-09-03 21:33:34 +00:00
< p > The library provides two approaches to dealing with integer endianness:</ p >
< blockquote >
2013-05-20 08:47:38 -04:00
< p >< b >< a href = "conversion.html" > Endian conversions</ a > -</ b > The application
uses the built-in integer and floating point types, and calls the provided
conversion functions to convert byte ordering as needed. Both mutating and
non-mutating conversions are supplied, and each comes in unconditional and
conditional variants. Type < code > long double</ code > is not currently supported.</ p >
2011-09-03 21:33:34 +00:00
2013-05-20 09:12:00 -04:00
< p >< b >< a href = "types.html" > Endian types</ a > -</ b > The application uses the provided endian types
2011-09-03 21:33:34 +00:00
which mimic the
2013-05-20 08:47:38 -04:00
built-in integer types. For example, < code > big32_t</ code > or < code > little64_t</ code > . Types with lengths of
1-8 bytes are supported, rather than just 2, 4, and 8 bytes. There are no alignment
requirements. Floating point types are not currently supported.</ p >
2011-09-03 21:33:34 +00:00
</ blockquote >
< p > Boost Endian is a header-only library.</ p >
2011-05-27 19:37:11 +00:00
2013-05-20 08:47:38 -04:00
< h2 >< a name = "Choosing" > Choosing</ a > between endian types and endian
conversion functions</ h2 >
2013-05-26 08:25:10 -04:00
< p > Which approach is best for dealing with endianness depends on
application concerns.</ p >
2013-05-20 08:47:38 -04:00
< table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" >
< tr >
2013-05-26 08:25:10 -04:00
< th colspan = "2" > Needs that favor one approach over the other</ th >
2013-05-20 08:47:38 -04:00
</ tr >
< tr >
2013-05-20 09:12:00 -04:00
< th width = "50%" >< b >< a href = "types.html" > Endian types</ a ></ b ></ th >
2013-05-20 08:47:38 -04:00
< th >< b >< a href = "conversion.html" > Endian conversion functions</ a ></ b ></ th >
</ tr >
< tr >
< td valign = "top" >
< ul >
2013-05-26 08:25:10 -04:00
< li > A need to simplify program logic and eliminate logic
errors. Since the endian types mimic the built-in types, there is no need to reason about the current endianness of variables
and that can simplify program logic and eliminate logic errors.< br >
2013-05-20 08:47:38 -04:00
</ li >
2013-05-26 08:25:10 -04:00
< li > A need to use unusual integer sizes (i.e. 3, 5,
6, or 7 bytes) to reduce internal and external space usage and
2013-05-20 08:47:38 -04:00
save I/O time.< br >
</ li >
2013-05-26 08:25:10 -04:00
< li > A need to use unaligned variables. Endian types can eliminate padding bytes in
2013-05-20 08:47:38 -04:00
structures, reducing internal and external space usage and saving I/O
2013-05-26 08:25:10 -04:00
time. They can deals with structures defined like this:</ li >
2013-05-20 08:47:38 -04:00
</ ul >
2013-05-26 08:25:10 -04:00
< blockquote >
< p >< code > struct S {< br >
uint16_t a;< br >
uint32_t b;< br >
} __attribute__ ((packed));</ code ></ p >
</ blockquote >
2013-05-20 08:47:38 -04:00
</ td >
< td valign = "top" >
< ul >
2013-05-26 08:25:10 -04:00
< li > A need to leverage knowledge of developers who have been using C byte
swapping
2013-05-20 08:47:38 -04:00
functions for years.< br >
</ li >
2013-05-26 08:25:10 -04:00
< li > A need to save CPU time when a variable is used many times
relative to its I/O.< br >
2013-05-20 08:47:38 -04:00
</ li >
2013-05-26 08:25:10 -04:00
< li > A need to pass structures to third-party libraries expecting a
2013-05-20 08:47:38 -04:00
specific structure format.< br >
</ li >
</ ul >
</ td >
</ tr >
</ table >
2013-05-25 12:16:32 -04:00
< h2 > Timing tests</ h2 >
< p > These tests were run against release builds on a circa 2012 4-core little endian X64 Intel Core i5-3570K
CPU @ 3.40GHz under Windows 7.</ p >
< p > See < a href = "../test/speed_test.cpp" > speed_test.cpp</ a > ,
< a href = "../test/speed_test_functions.hpp" > speed_test_functions.hpp</ a > ,
< a href = "../test/speed_test_functions.cpp" > speed_test_functions.cpp</ a > , and
< a href = "../build/Jamfile.v2" > Jamfile.v2</ a > for the actual code and build. The timed functions are in a separate
compilation unit to prevent being optimized away.</ p >
< p > Because the timings are anomalous, particularly for those high-lighted below
in yellow, the generated code from the GNU compiler was studied in detail. < b >
Exactly the same code is being generated for by-value conversion functions,
in-place conversion functions, and the endian types. Exactly the same code is
being generated whether intrinsics are used or not for 32 and 64-bit tests.</ b >
(For GCC 4.7, there are no 16-bit intrinsics, so they are emulated by using
32-bit intrinsics.)</ p >
< table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" >
< tr >
< td bgcolor = "#D7EEFF" >
< p align = "center" >< b > Conclusions</ b ></ p >
< p > The decision to use endian types or endian conversion functions should be
made based on application use cases, not assumptions about generated code
efficiency. Modern optimizers generate the same code for either approach,
and whether or not intrinsics are available. </ td >
</ tr >
</ table >
< table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" >
< tr >< td colspan = "6" align = "center" >< b > GNU g++ version 4.7.0</ b ></ td ></ tr >
< tr >< td colspan = "6" align = "center" >< b > Iterations: 1,000,000,000, Intrinsics: __builtin_bswap16, etc.</ b ></ td ></ tr >
< tr >< td >< b > Test Case</ b ></ td >
< td align = "center" >< b > int< br > arg</ b ></ td >
< td align = "center" >< b > int< br > value(arg)</ b ></ td >
< td align = "center" >< b > int< br > in place(arg)</ b ></ td >
< td align = "center" >< b > Endian< br > arg</ b ></ td >
</ tr >
< tr >< td > 16-bit aligned big endian</ td >< td align = "right" bgcolor = "#FFFFCC" > 2.71 s</ td >
< td align = "right" > 2.42 s</ td >< td align = "right" > 2.42 s</ td >< td align = "right" > 2.68 s</ td ></ tr >
< tr >< td > 16-bit aligned little endian</ td >< td align = "right" > 2.42 s</ td >
< td align = "right" > 2.40 s</ td >< td align = "right" > 2.68 s</ td >< td align = "right" > 2.45 s</ td ></ tr >
< tr >< td > 32-bit aligned big endian</ td >< td align = "right" > 2.68 s</ td >
< td align = "right" > 2.70 s</ td >< td align = "right" > 2.70 s</ td >< td align = "right" > 2.68 s</ td ></ tr >
< tr >< td > 32-bit aligned little endian</ td >< td align = "right" > 2.68 s</ td >
< td align = "right" > 2.68 s</ td >< td align = "right" > 2.65 s</ td >< td align = "right" > 2.68 s</ td ></ tr >
< tr >< td > 64-bit aligned big endian</ td >< td align = "right" bgcolor = "#FFFFCC" > 2.96 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.95 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.95 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.95 s</ td ></ tr >
< tr >< td > 64-bit aligned little endian</ td >< td align = "right" > 2.42 s</ td >
< td align = "right" > 2.40 s</ td >< td align = "right" > 2.70 s</ td >< td align = "right" > 2.42 s</ td ></ tr >
< tr >< td colspan = "6" align = "center" >< b > Iterations: 1,000,000,000, Intrinsics: no byte swap intrinsics</ b ></ td ></ tr >
< tr >< td >< b > Test Case</ b ></ td >
< td align = "center" >< b > int< br > arg</ b ></ td >
< td align = "center" >< b > int< br > value(arg)</ b ></ td >
< td align = "center" >< b > int< br > in place(arg)</ b ></ td >
< td align = "center" >< b > Endian< br > arg</ b ></ td >
</ tr >
< tr >< td > 16-bit aligned big endian</ td >< td align = "right" bgcolor = "#FFFFCC" > 2.71 s</ td >
< td align = "right" > 2.42 s</ td >< td align = "right" > 2.42 s</ td >< td align = "right" > 2.68 s</ td ></ tr >
< tr >< td > 16-bit aligned little endian</ td >< td align = "right" > 2.42 s</ td >
< td align = "right" > 2.40 s</ td >< td align = "right" > 2.68 s</ td >< td align = "right" > 2.42 s</ td ></ tr >
< tr >< td > 32-bit aligned big endian</ td >< td align = "right" > 2.68 s</ td >
< td align = "right" > 2.70 s</ td >< td align = "right" > 2.67 s</ td >< td align = "right" > 2.70 s</ td ></ tr >
< tr >< td > 32-bit aligned little endian</ td >< td align = "right" > 2.68 s</ td >
< td align = "right" > 2.67 s</ td >< td align = "right" > 2.70 s</ td >< td align = "right" > 2.67 s</ td ></ tr >
< tr >< td > 64-bit aligned big endian</ td >< td align = "right" bgcolor = "#FFFFCC" > 2.96 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.95 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.95 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.93 s</ td ></ tr >
< tr >< td > 64-bit aligned little endian</ td >< td align = "right" > 2.42 s</ td >
< td align = "right" > 2.42 s</ td >< td align = "right" > 2.67 s</ td >< td align = "right" > 2.40 s</ td ></ tr >
</ table >
< p ></ p >
< table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" >
< tr >< td colspan = "6" align = "center" >< b > Microsoft Visual C++ version 11.0</ b ></ td ></ tr >
< tr >< td colspan = "6" align = "center" >< b > Iterations: 1,000,000,000, Intrinsics: cstdlib _byteswap_ushort, etc.</ b ></ td ></ tr >
< tr >< td >< b > Test Case</ b ></ td >
< td align = "center" >< b > int< br > arg</ b ></ td >
< td align = "center" >< b > int< br > value(arg)</ b ></ td >
< td align = "center" >< b > int< br > in place(arg)</ b ></ td >
< td align = "center" >< b > Endian< br > arg</ b ></ td >
</ tr >
< tr >< td > 16-bit aligned big endian</ td >< td align = "right" > 1.90 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
< tr >< td > 16-bit aligned little endian</ td >< td align = "right" > 1.89 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
< tr >< td > 32-bit aligned big endian</ td >< td align = "right" > 1.89 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
< tr >< td > 32-bit aligned little endian</ td >< td align = "right" > 1.89 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td ></ tr >
< tr >< td > 64-bit aligned big endian</ td >< td align = "right" > 1.87 s</ td >
< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td ></ tr >
< tr >< td > 64-bit aligned little endian</ td >< td align = "right" > 1.87 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td ></ tr >
< tr >< td colspan = "6" align = "center" >< b > Iterations: 1,000,000,000, Intrinsics: no byte swap intrinsics</ b ></ td ></ tr >
< tr >< td >< b > Test Case</ b ></ td >
< td align = "center" >< b > int< br > arg</ b ></ td >
< td align = "center" >< b > int< br > value(arg)</ b ></ td >
< td align = "center" >< b > int< br > in place(arg)</ b ></ td >
< td align = "center" >< b > Endian< br > arg</ b ></ td >
</ tr >
< tr >< td > 16-bit aligned big endian</ td >< td align = "right" > 1.90 s</ td >
< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
< tr >< td > 16-bit aligned little endian</ td >< td align = "right" > 1.89 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
< tr >< td > 32-bit aligned big endian</ td >< td align = "right" > 1.89 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td ></ tr >
< tr >< td > 32-bit aligned little endian</ td >< td align = "right" > 1.87 s</ td >
< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td ></ tr >
< tr >< td > 64-bit aligned big endian</ td >< td align = "right" bgcolor = "#FFFFCC" > 2.32 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.46 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.45 s</ td >
< td align = "right" bgcolor = "#FFFFCC" > 2.34 s</ td ></ tr >
< tr >< td > 64-bit aligned little endian</ td >< td align = "right" > 1.87 s</ td >
< td align = "right" > 1.87 s</ td >< td align = "right" > 1.89 s</ td >< td align = "right" > 1.87 s</ td ></ tr >
</ table >
2013-05-20 15:04:33 -04:00
< h2 > Overall < a name = "FAQ" > FAQ</ a ></ h2 >
2013-05-22 13:26:51 -04:00
< p >< b > Why bother with endianness?</ b ></ p >
2013-05-20 15:04:33 -04:00
< blockquote >
2013-05-22 13:26:51 -04:00
< p > Binary data portability is the primary use case.</ p >
</ blockquote >
< p >< b > Does endianness have any uses outside of portable binary file or network
I/O formats?</ b > </ p >
< blockquote >
< p > Using the unaligned integer types to save internal or external
2013-05-20 15:04:33 -04:00
memory space is a minor secondary use case.</ p >
</ blockquote >
< p >< b > Why bother with binary I/O? Why not just use C++ Standard Library stream
inserters and extractors?</ b ></ p >
< blockquote >
< p > Binary arithmetic data is smaller and therefore I/O is faster and file sizes
are smaller. Transfer between systems is less expensive. Standard interchange
formats often specify binary arithmetic data.</ p >
< p > Furthermore, binary arithmetic data is of fixed size, and so fixed-size disk
records are possible without padding, easing sorting and allowing direct access.
Disadvantages, such as the inability to use text utilities on the resulting
files, limit usefulness to applications where the binary I/O advantages are
paramount.</ p >
</ blockquote >
2013-05-22 13:26:51 -04:00
< p >< b > Why is only big, little, and native endianness supported?</ b ></ p >
< blockquote >
< p > These are the only endian schemes that have any practical value today. PDP-11
and the other middle endian approaches are interesting historical curiosities
but have no relevance to C++ developers.</ p >
</ blockquote >
2011-09-03 17:50:46 +00:00
< h2 >< a name = "Acknowledgements" > Acknowledgements</ a ></ h2 >
< p > Comments and suggestions were
received from
2013-05-20 15:04:33 -04:00
Adder, Benaka Moorthi,
2011-09-03 17:50:46 +00:00
Christopher Kohlhoff,
2013-05-20 15:04:33 -04:00
Cliff Green,Daniel James, Gennaro Proto,
Giovanni Piero Deretta, Gordon Woodhull, dizzy, Hartmut Kaiser, Jeff Flinn,
John Filo, John Maddock,
2011-09-03 17:50:46 +00:00
Kim Barrett,
Marsh Ray,
2013-05-20 15:04:33 -04:00
Martin Bonner, Mathias Gaunard, Matias Capeletto,
Neil Mayhew, Paul Bristow, Phil Endecott, Pyry Jahkola, Rene Rivera,
2013-05-20 08:47:38 -04:00
Robert Stewart, Roland Schwarz, Scott McMurray,
2011-09-03 17:50:46 +00:00
Sebastian Redl,
2013-05-20 15:04:33 -04:00
Tim Blechmann, Tim Moore, tymofey, Tomas Puverle, Vincente Botet, Yuval Ronen
and Vitaly Budovski,.</ p >
2011-05-27 19:37:11 +00:00
< hr >
< p > Last revised:
2013-05-25 12:16:32 -04:00
<!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan --> 25 May, 2013<!--webbot bot="Timestamp" endspan i-checksum="13986" --> </ p >
2013-05-20 15:04:33 -04:00
< p > © Copyright Beman Dawes, 2011, 2013</ p >
2011-05-27 19:37:11 +00:00
< p > Distributed under the Boost Software License, Version 1.0. See
< a href = "http://www.boost.org/LICENSE_1_0.txt" > www.boost.org/ LICENSE_1_0.txt</ a ></ p >
< p > </ p >
</ body >
</ html >