Hu Jialun
0d854ceabf
Add std::initializer_list constructor ( #31 )
...
C++11 allows list initialization for classes. STL map has been added
a constructor with the signature
map(initializer_list<value_type> il,
const allocator_type& alloc = allocator_type());
Added a similar constructor to bimap, allowing for initialization in the
form of initializer list, such as
boost::bimap<double, long> tdn {
{114.514, 1919},
{891.931, 810}
};
2026-03-29 12:35:54 +02:00
joaquintides
25a3fd8a3c
Fix/compatibility multi_index 1.91 ( #50 )
...
* adapted core to Mp11-based index specification in MultiIndex
* updated CI
* removed Clang 5.0 -std=c++1z as not supported by Mp11
* updated release notes
2025-11-05 21:22:56 +01:00
Peter Dimov
f64de6d045
Remove unnecessary includes (that now cause errors because the header has been removed)
2025-01-27 23:01:14 +02:00
Ignacy Gawędzki
6bbd6cbda3
Fix mutant_relation::operator=.
...
Defining
template <bool FM>
mutant_relation& operator=(const mutant_relation<TA, TB, Info, FM>& rel) {
base_::change_to(rel);
return *this;
}
does not prevent the compiler from implicitly providing
mutant_relation& operator=(const mutant_relation&);
and hence the implicit version takes over when FM == force_mutable and
does not call base_::change_to.
Replace the template version with two non-template overloads, both
calling base_::change_to.
Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr >
2024-08-09 22:26:45 +02:00
joaquintides
de777745ac
fixed heterogeneous lookup for side collections
2024-04-01 17:54:01 +02:00
Peter Dimov
2574e14e50
Clang-cl says that friend class unqualified-id; is a Microsoft extension
2023-02-23 10:10:22 +02:00
Peter Dimov
03b3c60899
Replace Serialization includes with boost/core/serialization.hpp
2023-02-23 09:59:23 +02:00
fanquake
608c038c8e
refactor: use core/enable_if over utility/enable_if
...
The later is deprecated.
2022-08-31 12:59:19 +01:00
Peter Dimov
ec7de9c746
Remove dependency on PropertyMap
2021-05-29 06:42:37 +03:00
Glen Fernandes
6b4d000a4f
Remove explicit copy constructors from map view iterators
2020-05-22 01:55:05 -04:00
Glen Fernandes
83f4f27f3a
Do not use std::allocator<void>
2020-05-21 10:59:22 -04:00
Glen Fernandes
6fba6e5de3
Use boost::allocator_rebind<A, U> instead of A::template rebind<U>::other
2020-05-21 10:59:20 -04:00
Glen Fernandes
240ccd2fc2
Merge pull request #10 from luzpaz/bimap-misc-typos
...
bimap: misc-typos
2020-05-21 10:21:23 -04:00
David Seifert
f61dd9c532
Fix missing boost/serialization/split_member.hpp include
...
* As suggested by @glenfe and @robertramey in
https://github.com/boostorg/serialization/commit/c32a663c9963385430abc563f9c85f94d8da43a9#r36528430 ,
the `boost/serialization/split_member.hpp` include is not part
of the interface and consumers should not rely on it being
included.
Fixes lightspark/lightspark#406
Fixes https://bugs.gentoo.org/703294
2019-12-21 14:02:13 +01:00
Edward Diener
1a17c7435f
Remove executable permission.
2018-12-03 08:03:02 -05:00
luz.paz
536c7cbb19
bimap: misc-typos
...
Found via `codespell -q 3`
2018-09-23 14:47:01 -04:00
Peter Dimov
6853fbd8ef
Merge branch 'feature/handle-deprecated-c++98-adapters' of https://github.com/DanielaE/boost.bimap into develop
2017-11-22 01:20:16 +02:00
Daniela Engert
87a008a50e
Inline typedefs from deprecated/removed C++98 function adapters.
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-05-11 16:45:57 +02:00
Matias Capeletto
fe87b8c975
Merge branch 'develop'
2016-03-08 10:00:55 +01:00
Sebastien Loriot
e4b46b3258
Remove a warning
2015-07-31 10:15:50 +02:00
Peter Dimov
b98a884af8
Merge branch 'develop'
2015-01-25 21:41:57 +02:00
Stephen Kelly
7b4a0e066e
Remove obsolete MSVC check from pragma guard
...
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq
is now clean.
[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly
5af142e42b
Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro.
...
[SVN r85896]
2013-09-25 10:29:44 +00:00
Stephen Kelly
400b0057ff
Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macros.
...
[SVN r85894]
2013-09-25 10:28:56 +00:00
Matias Capeletto
4feda54ccb
[bimap] Merge to release
...
[SVN r81939]
2012-12-14 14:21:53 +00:00
Matias Capeletto
7c7c545da1
Fixed vector_of and list_of views assign(size_type,value_type) bug.
...
Fixed vector_of views operator[](size_type) and at(size_type) functions return value.
[SVN r81818]
2012-12-10 13:13:09 +00:00
Matias Capeletto
81a23942cc
[bimap] Fix replace_(left/right/key/data) bug when using relations with info.
...
[SVN r81807]
2012-12-09 12:02:51 +00:00
Matias Capeletto
d471ee1e11
Refactor map_view_iterator to improve error messages
...
[SVN r81256]
2012-11-08 23:16:06 +00:00
Matias Capeletto
61908975c1
Merge unused parameters fix to release
...
[SVN r80816]
2012-10-02 13:16:39 +00:00
Matias Capeletto
4482c8586b
Fix unused parameter name warnings in Boost.Bimap, Fix #7425
...
[SVN r80807]
2012-10-01 14:34:38 +00:00
Matias Capeletto
be6acfe6ed
[bimap] Merge to release ( fix #6031 )
...
[SVN r78743]
2012-05-29 11:20:11 +00:00
Matias Capeletto
fec2574384
[bimap] Remove tabs
...
[SVN r78741]
2012-05-29 09:51:34 +00:00
Matias Capeletto
744f8c201a
[bimap] Add key_type and mapped_type (leaving data_type for backward compatibility) typedefs to map views ( Fix #6031 )
...
[SVN r78583]
2012-05-24 15:16:20 +00:00
Matias Capeletto
f22f84f559
[Bimap] Merge to release ( [78154] Fix #3868 , [78159] Fix #5749 )
...
[SVN r78573]
2012-05-24 08:31:45 +00:00
Dave Abrahams
55a68b1e31
Replace all uses of boost/utility.hpp with more-granular includes. Solves modularization dependency nightmare.
...
[SVN r78502]
2012-05-18 04:44:04 +00:00
Matias Capeletto
0c115d87f3
[Bimap] Solve unused constructor parameter warning (Fix 5749)
...
[SVN r78159]
2012-04-23 13:58:46 +00:00
Matias Capeletto
270b06b06e
[Bimap] Remove spurious dependency on Boost.Serialization ( Fix #3868 )
...
[SVN r78154]
2012-04-23 10:16:34 +00:00
Matias Capeletto
8c89813fb4
merge from trunk (58852-58891)
...
[SVN r58985]
2010-01-13 19:04:38 +00:00
Matias Capeletto
682cb9fee7
fix context to complex for V7.1
...
[SVN r58891]
2010-01-11 11:24:52 +00:00
Matias Capeletto
d35d7962b0
fix custom allocators, ticket #3665
...
[SVN r58856]
2010-01-09 22:11:40 +00:00
Matias Capeletto
097041443a
fix count() constness, ticket #2484
...
[SVN r58855]
2010-01-09 21:33:41 +00:00
Matias Capeletto
75225e89f7
fix missing include headers, ticket #1521
...
[SVN r58854]
2010-01-09 20:58:38 +00:00
Matias Capeletto
ff13e97b13
fix regressions in VC10, ticket #3573
...
[SVN r58853]
2010-01-09 20:43:48 +00:00
Daniel James
10e7b1ae59
Merge [43256] from trunk: fix tabs in files.
...
[SVN r57803]
2009-11-20 09:40:56 +00:00
Jeremiah Willcock
21d8cfd23a
Changed to use new property map headers
...
[SVN r55104]
2009-07-23 02:00:27 +00:00
Jeremiah Willcock
e00f6a6aea
Fixed almost all tab and min/max issues found by inspect tool
...
[SVN r53142]
2009-05-20 19:41:20 +00:00
Jeremiah Willcock
e02a1bbd7d
Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names
...
[SVN r52226]
2009-04-07 01:28:38 +00:00
Matias Capeletto
d3856ba8a6
fix tabs in files
...
[SVN r43256]
2008-02-14 19:22:15 +00:00
Matias Capeletto
1a98e6aefa
remove wrong placed typename
...
[SVN r41290]
2007-11-22 05:18:38 +00:00
Beman Dawes
8919f6a5f7
// Add or correct comment identifying Boost library this header is associated with.
...
[SVN r41173]
2007-11-17 20:13:16 +00:00