Tanzinul Islam
7bc78f51ff
Move the detail namespace entirely within the #ifndef __BORLANDC__-block.
2017-09-08 21:37:03 +01:00
Tanzinul Islam
907bbbb759
Fix 'detail' namespace closing for Borland
...
In `type_with_alignment.hpp`, the `boost::detail` namespace is opened in line 28 just before starting the main `#ifndef __BORLANDC__`-block at line 30. The `detail` namespace is closed within the `#ifndef`-block at line 79. Highlight that namespace closing-brace with a comment for visibility.
Furthermore, the main `#ifndef __BORLANDC__`-block has a `#else`-case beginning at line 209, which effectively begins the `boost::detail` namespace at that point. This continuation of the namespace was missing a closing brace, causing a compilation failure with C++Builder (due to not finding `::boost::tt_align_ns::a16` in line 230, but merely finding `::boost::detail::tt_align_ns::a16`). Add that closing brace in line 217 with a visibility comment, just before opening the `tt_align_ns` namespace (which is expected by existing code to be directly inside the `boost` namespace, and not inside `boost::detail`).
2017-08-27 15:15:31 +01:00
jzmaddock
336162c8c4
Merge pull request #42 from boostorg/feature/is_list_constructible
...
Add is_list_constructible
2017-07-16 19:04:56 +01:00
Peter Dimov
ced4870cb0
Add is_list_constructible
2017-07-15 23:03:38 +03:00
Peter Dimov
aa8dcb47cf
Add is_nothrow_swappable
2017-07-15 18:57:34 +03:00
Peter Dimov
8f62efcdfc
Fix MSVC failures caused by warning C4800
2017-07-06 00:05:17 +03:00
Peter Dimov
2260b04c5d
Add corresponding required include
2017-07-01 23:54:09 +03:00
Peter Dimov
0cae4b02e4
Add missing includes
2017-07-01 23:45:13 +03:00
Peter Dimov
8a3d01a5ea
Add remove_cv_ref
2017-05-20 17:13:43 +03:00
jzmaddock
bb867c86d8
Improve tests for new *_t template aliases.
...
Add missing *_t aliases.
2017-05-18 19:44:29 +01:00
Peter Dimov
f51a528591
Add _t aliases
2017-05-16 21:52:06 +03:00
Glen Fernandes
fe7317d1ba
Add multiple type support to pre-C++11 void_t alias
2017-02-07 18:04:31 -05:00
jzmaddock
7b29d67a3e
Small improvements to make_void:
...
* When there are no variadic templates, supports up to 5 parameters.
* Tests added for void_t.
* Documentation added on compiler support.
2017-02-07 18:49:33 +00:00
jzmaddock
f59467e310
Merge branch 'develop' of https://github.com/glenfe/type_traits into pr28
2017-02-07 18:31:38 +00:00
Glen Fernandes
d24f722c5a
Add make_void and void_t traits
2017-01-30 19:50:38 -05:00
zerotypos-found
c3b38bc3dd
[inspection report] remove tabs and non-ASCII chars, add newline at EOF, fix copyright
2016-11-29 12:05:30 +09:00
jzmaddock
5f82b5ac50
Suppress msvc-14 warning.
2016-05-08 18:13:26 +01:00
jzmaddock
4243962e40
Conditionally stop using outdated msvc workarounds.
2016-05-08 18:12:57 +01:00
jzmaddock
97cea143b9
Add and comment cstddef includes whenever std::size_t is used.
...
See https://svn.boost.org/trac/boost/ticket/12124 .
2016-04-13 18:36:03 +01:00
jzmaddock
38cbf9df96
Merge pull request #24 from MarcelRaad/fix_clang_msvc
...
Fixes for clang in MSVC mode
2016-03-18 10:11:53 +00:00
jzmaddock
f7e1f2d52e
Change #includes to use angle brackets.
...
See https://svn.boost.org/trac/boost/ticket/11516 .
2016-03-12 17:18:24 +00:00
jzmaddock
2b64ca10e5
Change #includes to angle brackets.
...
See https://svn.boost.org/trac/boost/ticket/11516 .
2016-03-12 17:05:27 +00:00
Marcel Raad
71c6fea390
Fixes for clang in MSVC mode
...
In MSVC mode, clang doesn't define __GNUC__.
Also, it doesn't define __clang, but defines __clang__.
2016-02-12 14:55:56 +01:00
jzmaddock
1f3a3a1553
Fixes for older GCC versions, see issue 11904.
2016-01-13 10:50:22 +00:00
jzmaddock
0bbffe0176
Manually revert accidental commit of tentative CUDA changes.
2016-01-11 13:47:46 +00:00
jzmaddock
1f65f0351d
Update docs.
2016-01-10 18:53:10 +00:00
jzmaddock
217c337233
Fix result of add_reference<const void>.
...
Also update tests.
See https://svn.boost.org/trac/boost/ticket/11900 .
2016-01-10 18:10:17 +00:00
Gregor Jasny
f80cbb0dad
Change check to s_check (like #8542 )
2015-12-29 20:41:10 +01:00
jzmaddock
bc58964228
Disable wchar_t usage when it's not available.
...
See https://svn.boost.org/trac/boost/ticket/11870 .
2015-12-28 18:53:44 +00:00
jzmaddock
08cb0bba32
Add missing #include.
2015-12-12 13:19:12 +00:00
jzmaddock
bc8a92c7b6
Suppress use of noexcept for gcc-4.6 as it doesn't handle all failure cases correctly.
2015-12-12 13:15:34 +00:00
jzmaddock
b9c1ca01f5
Merge pull request #22 from scopeInfinity/changes
...
[type_traits] Fixed is_complex<T> with const types. Ticket #11840
2015-12-11 17:31:47 +00:00
scopeInfinity
dc272078fc
[type_traits] Fixed is_complex<T> with const types. Ticket #11840
2015-12-11 20:01:01 +05:30
jzmaddock
26531e7e2c
Merge branch 'develop' of https://github.com/boostorg/type_traits into develop
2015-12-06 12:12:47 +00:00
jzmaddock
f176e0a26d
Apply patch https://svn.boost.org/trac/boost/ticket/11831 for clang.
2015-12-06 11:58:11 +00:00
Andrey Semashev
40fada5956
Fix a preprocessor warning on Intel compiler
...
Replaced incorrect "#else if" sequence with "#elif". This fixes "warning #14 : extra text after expected end of preprocessing directive".
2015-11-11 13:17:02 +03:00
jzmaddock
4154c00265
Fix has_trivial_copy on Intel 16.
2015-11-09 18:48:21 +00:00
jzmaddock
946221e550
Fix has_nothrow_copy on Intel-16 / Windows.
2015-11-09 13:41:33 +00:00
Ion Gaztañaga
1a5f11bb5a
Second patch that makes all common type tests happy.
2015-09-19 23:09:46 +02:00
Ion Gaztañaga
2f3fecf3f5
First patches for MSVC-7.1
2015-09-19 22:27:38 +02:00
Ion Gaztañaga
7d4bb24bf6
Workaround for old compilers like MSVC 7.1
...
Without the indirection, a compilation error was triggered in line 106
2015-09-14 22:03:04 +02:00
Andrey Semashev
99576a12f6
Remove executable permissions from headers.
2015-09-13 21:20:51 +03:00
Louis Dionne
f1bb7f979c
Add missing ::value_type typedef in integral_constant<bool> specialization
2015-09-12 19:13:21 -04:00
jzmaddock
f083968ba6
Update to use new BOOST_HAS_FLOAT128, plus more tests.
2015-08-13 17:53:33 +01:00
jzmaddock
39660c2421
Add __float128 specialization for is_floating_point.
2015-08-13 13:22:32 +01:00
jzmaddock
14d595e260
Fix a few more MSVC-14 failures.
2015-07-24 10:04:44 +01:00
jzmaddock
b03c2df9c3
Disable __alignof usage by clang when it emulating GCC and GCC's behavior is buggy.
2015-07-10 13:15:00 +01:00
jzmaddock
5d0cc6dca4
Fix duplicate definitions.
2015-07-10 13:05:31 +01:00
jzmaddock
2fc6fea44b
Add more missing checks for BOOST_NO_CXX11_RVALUE_REFERENCES,
2015-07-08 18:31:30 +01:00
jzmaddock
ac4a37449d
Add needed PP_guard around rvalue ref usage.
2015-07-08 16:42:38 +01:00