43 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
ff0934f6a3 Add support for modular build structure. (#12)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Update build deps.

* Replace GHA CI with simpler working one based on alandefreitas/cpp-actions utilities.

* Move project global include to target local include.

* Only msvc gets minor version tests.

* Redo GHA CI to undo move to cpp-actions.

* Fix non-existent containers.

* This lib now only works for C++11.

* Undo explicit g++ compiler specification.

* Move container spec up for display purpouses.
2025-06-26 17:08:36 +03:00
Peter Dimov
e49738ce9f Disable -Wunused-local-typedefs 2024-01-23 04:08:19 +02:00
Peter Dimov
37ccb0ec07 Comment out failing test 2024-01-23 02:22:25 +02:00
Nikita Kniazev
f3f663a430 Remove storage class specifier tests
They fail on every compiler except GCC in GNU++98 mode. The `auto` storage
specifier cannot be used in function parameter list in C, while C++11 already
reused the keyword for other usages. The `register` storage specifier is
deprecated in C++11 and removed in C++17.
2019-12-04 00:24:16 +03:00
Marshall Clow
6d29941e50 Removed usage of deprecated macros in Boost.LocalFunction
[SVN r81566]
2012-11-26 18:04:22 +00:00
Lorenzo Caminiti
8bcae38558 Added identity_type.hpp to utility.hpp.
Added static to Addable data members because they are references.
Marked a couple of regression tests for release compilers.

[SVN r78653]
2012-05-26 20:39:22 +00:00
Lorenzo Caminiti
4242b5a272 Missing a closing parenthesis in a const_block example macro.
Removed a new line in return_derivative[_seq].

[SVN r78562]
2012-05-23 19:42:21 +00:00
Lorenzo Caminiti
2802382429 Removed test for compilers that support local types as template params.
[SVN r78546]
2012-05-23 02:59:15 +00:00
Lorenzo Caminiti
2f271e1cc9 Uncommented code that gives internal VACPP error (I couldn't figure it out...).
[SVN r78426]
2012-05-11 20:07:28 +00:00
Lorenzo Caminiti
0a88a6ea8e Trying to pin-point a VACPP internal error.
[SVN r78409]
2012-05-10 19:43:29 +00:00
Lorenzo Caminiti
d396a60501 Trying to pin-point a VACPP internal error.
[SVN r78398]
2012-05-10 02:08:54 +00:00
Lorenzo Caminiti
ac81088068 Trying to pin-point a VACPP internal error.
[SVN r78382]
2012-05-08 18:05:53 +00:00
Lorenzo Caminiti
ef1880af1d Forcing run-time failure when test is expected to fail.
[SVN r78381]
2012-05-08 18:01:59 +00:00
Lorenzo Caminiti
6693822d48 Added a test to verify all compilers for which local classes can be passed as template parameters (for faster local function calls).\
[SVN r78380]
2012-05-08 17:53:41 +00:00
Lorenzo Caminiti
b229ae8f73 Resolved all LocalFunctions to-dos. Still trying to pin-point a VACPP internal error.
[SVN r78371]
2012-05-07 18:54:38 +00:00
Lorenzo Caminiti
c73a4e1d8f Pin-pointing a VACPP internal error.
[SVN r78257]
2012-04-29 18:12:00 +00:00
Lorenzo Caminiti
be0eac9c16 Worked around VACPP error for const int assignment. Enabled more code to pinpoint a VACAPP internal error.
[SVN r78241]
2012-04-28 14:56:24 +00:00
Lorenzo Caminiti
40d5300883 Replaced all section name in lowercase and TPL_ID with ID_TPL.
[SVN r78230]
2012-04-28 02:10:05 +00:00
Lorenzo Caminiti
962d34e1c2 Trying to identify 2 VACAPP internal errors.
[SVN r78219]
2012-04-27 14:04:05 +00:00
Lorenzo Caminiti
9184e816c6 Pin pointing an internal VACPP error.
[SVN r78215]
2012-04-27 01:58:13 +00:00
Lorenzo Caminiti
da33bebc6d Missing some includes. Added more code to a test to pin-point an Intel internal compiler error.
[SVN r78181]
2012-04-24 18:15:50 +00:00
Lorenzo Caminiti
27f04ea359 Marked a couple of expected failures.
[SVN r78161]
2012-04-23 17:32:10 +00:00
Lorenzo Caminiti
95d235991b Debugging tests for few compilers.
[SVN r78085]
2012-04-19 21:08:36 +00:00
Lorenzo Caminiti
a75aececf3 Fixed a bug with expansion of LocalFunction Id.
[SVN r77965]
2012-04-13 23:14:48 +00:00
Lorenzo Caminiti
6722dd27d3 Updated docs.
[SVN r77943]
2012-04-13 00:26:10 +00:00
Lorenzo Caminiti
b507cc0e39 Forcing type-of emulation on Sun.
Trying to fix OverloadedFunction pp bug on Sun by removing SUB on iteration range (doing ADD on iteration index instead).

[SVN r77940]
2012-04-12 21:12:28 +00:00
Lorenzo Caminiti
802dc66abb Implemented a trick for NAME not to use BOOST_TYPEOF without requiring to repeat the function type (doing a typedef on the local class so to access the functor type in NAME).
[SVN r77917]
2012-04-11 17:14:00 +00:00
Lorenzo Caminiti
fcd46e7fd7 Upd docs and added ability to pass function type and default count to NAME so to not use Boost.Typeof at all.
[SVN r77906]
2012-04-11 05:47:37 +00:00
Lorenzo Caminiti
5935f79a12 Trying to workaround some compiler issues with LocalFunction.
[SVN r77866]
2012-04-09 22:17:36 +00:00
Lorenzo Caminiti
3203e349ad Wrapped a metafunction call into a local struct to try to workaround a problem with add_template on the intel compiler.
[SVN r77820]
2012-04-07 18:45:13 +00:00
Lorenzo Caminiti
b28b1fae1d Added a temporary workaround the Boost.Config bug that causes Boost.Typeof to fail on Sun (Jamfile <define>__typeof__=__typeof__ so Boost.Config does not define __typeof__ to be typeof).
[SVN r77770]
2012-04-04 21:15:16 +00:00
Lorenzo Caminiti
633a774276 Compiling all ScopeExit and LocalFunction tests and examples on GCC with and without type-of emulation mode.
Added LocalFunction configuration macro to force use or not use of locals as template parameters.

[SVN r77765]
2012-04-04 19:35:34 +00:00
Lorenzo Caminiti
3b8fe255c4 Fixing LocalFunction to work in type-of emulation mode.
[SVN r77755]
2012-04-04 15:35:30 +00:00
Lorenzo Caminiti
337638616a Fixed a couple of typos in LocalFunction tests and examples.
[SVN r77749]
2012-04-03 20:36:02 +00:00
Lorenzo Caminiti
5c0948bf6e Reworked all LocalFunction tests and examples to use Boost.Detail/LightweightTest (instead of Boost.Test) and test sequence syntax without variadic macros (..._nova tests).
[SVN r77747]
2012-04-03 19:40:20 +00:00
Lorenzo Caminiti
96d30479a9 Split Utility/IdentityType and Functional/OverloadedFunction tests into smaller tests.
Updated docs for ScopeExit, LocalFunction, Utility/IdentityType, and Functional/OverloadedFunction.

[SVN r77484]
2012-03-22 20:54:20 +00:00
Lorenzo Caminiti
0bae08f783 Renamed cpp11 to cxx11 in LocalFunction.
Added _ID to ScopeExit and LocalFunction.

[SVN r77425]
2012-03-20 02:14:14 +00:00
Lorenzo Caminiti
4f7c9e0607 Added tests for ScopeExit and LocalFunction _ID macros.
[SVN r77407]
2012-03-19 18:09:12 +00:00
Lorenzo Caminiti
76f141d17e Renamed add_params test to add_params_only (and updated docs).
[SVN r77084]
2012-02-20 21:46:46 +00:00
Lorenzo Caminiti
0a7ee44cff Added sequence syntax for a test.
[SVN r77082]
2012-02-20 20:20:36 +00:00
Lorenzo Caminiti
b84f29c030 Added test for sequence syntax (to run with and without variadic macro support) and disabled variadic syntax test when variadic macros are not supported.
Updated docs.

[SVN r77078]
2012-02-20 20:07:29 +00:00
Lorenzo Caminiti
259533b62b Fixed a bug in BOOST_LOCAL_FUNCTION_DETAIL_PP_VOID_LIST: a typo VOId -> VOID.
Fixed a bug in scope_exit.hpp: An extra trailing \ in a macro definition (compiled only when BOOST_NO_VARIADIC_MACROS is defined).
Renamed LocalFunction and ScopeExit tests and examples from _err to _error.
Updated LocalFunction docs.

[SVN r77042]
2012-02-16 18:24:34 +00:00
Lorenzo Caminiti
3339fccc83 Added LocalFunction tests.
[SVN r77022]
2012-02-15 00:36:53 +00:00