Files
safe_numerics/doc/boostbook/notes.xml
2017-02-04 14:50:32 -08:00

46 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<section id="safe_numerics.notes">
<title>Background</title>
<para>This library started out as a re-implementation of the facilities
provided by <ulink url="http://safeint.codeplex.com">David LeBlanc's SafeInt
Library</ulink>. I found this library to be well done in every way. My main
usage was to run unit tests for my embedded systems projects on my PC.
Still, I had a few issues.</para>
<itemizedlist>
<listitem>
<para>It was a lot of code in one header - 6400 lines. Very unwieldy to
understand, modify and maintain.</para>
</listitem>
<listitem>
<para>I couldn't find separate documentation other than that in the
header file.</para>
</listitem>
<listitem>
<para>It didn't use <ulink url="http://www.boost.org">Boost</ulink>
conventions for naming.</para>
</listitem>
<listitem>
<para>It required porting to different compilers.</para>
</listitem>
<listitem>
<para>It had a very long license associated with it.</para>
</listitem>
<listitem>
<para>I could find no test suite for the library.</para>
</listitem>
</itemizedlist>
<para>This version addresses these issues. It exploits many facilities of
C++14 and the <ulink url="http://www.boost.org">Boost libraries</ulink> to
reduce the number of lines of source code to approximately 4700.</para>
</section>