Boost GIL


Macros
gil_config.hpp File Reference

GIL configuration file. More...

#include <boost/config.hpp>
#include <boost/config/pragma_message.hpp>

Go to the source code of this file.

Macros

#define BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS
 Define to allow unaligned memory access Theoretically (or historically?) on platforms which support dereferencing on non-word memory boundary, unaligned access may result in performance improvement. More...
 

Detailed Description

GIL configuration file.

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated

Macro Definition Documentation

#define BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS

Define to allow unaligned memory access Theoretically (or historically?) on platforms which support dereferencing on non-word memory boundary, unaligned access may result in performance improvement.

Warning
Unfortunately, this optimization may be a C/C++ strict aliasing rules violation, if accessed data buffer has effective type that cannot be aliased without leading to undefined behaviour.