2
0
mirror of https://github.com/boostorg/fusion.git synced 2026-01-22 05:12:28 +00:00

9 Commits

Author SHA1 Message Date
IncludeGuardian
ce8b031f54 Swap include guards to #ifndef (#271)
Compilers implement a multiple-include optimization where they avoid
preprocessing an included file if it is "properly guarded". Compilers
differ as to what constitutes a "properly guarded" file. In particular,
Microsoft Visual Studio does not recognize `#if !defined(GUARD)` for
the optimization. This does not affect the correctness of using Fusion
on Microsoft Visual Studio, but it will increase the time taken to build
any project on this compiler.

This commit changes all include guards to use `#ifndef`, but leaves all
other `#if !defined` preprocessor directives that are not related to
guarding a file.

Co-authored-by: IncludeGuardian <hello@includeguardian.io>
2024-02-25 12:37:08 +08:00
Kohei Takahashi
981f71d04f Use boost::enable_if_has_type instead. 2015-11-01 11:10:11 +09:00
Kohei Takahashi
d3449ab5e5 Overhaul the fusion::fold family to make SFINAE-friendly. 2015-09-04 00:51:56 +09:00
Kohei Takahashi
bd4b1cdac6 Fix #10443: SFINAE-friendly result_of::invoke.
It means previous pull-requests (#24) is still incomplete.
2015-02-12 21:21:01 +09:00
Eric Niebler
528ad04fdb baking segmented Fusion
[SVN r73854]
2011-08-17 18:53:56 +00:00
Christopher Schmidt
35e469e2d5 fix for #2355: discrepancy between std::accumulate and fusion::accumulate
[SVN r57125]
2009-10-24 10:59:01 +00:00
Dan Marsden
e2d23b8a63 bugfix to fold test, and new transform test
[SVN r49470]
2008-10-27 22:13:20 +00:00
Dan Marsden
d3f057e88c added fold test and simplified repetition in the Makefile
[SVN r49456]
2008-10-26 14:39:59 +00:00
Dan Marsden
38147bb4d6 Adding simple compile time tests
[SVN r49409]
2008-10-20 21:36:04 +00:00