Andreas Fabri
556d33836f
Apply suggestions from code review
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2025-05-15 07:43:26 +02:00
Andreas Fabri
10fe2f5659
output an address
2025-05-14 15:52:18 +01:00
Andreas Fabri
03734f4f18
Add noop for operator<< for handles of a Polyhedron (and let's improve)
2025-05-14 15:38:22 +01:00
Sébastien Loriot
9242a810c4
Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau
2023-02-07 11:31:55 +01:00
albert-github
39c752dfd1
Update STL_Extension/include/CGAL/In_place_list.h
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-09-29 10:32:10 +02:00
albert-github
fea5528a5c
STL_Extension: worng formulation of precondition
...
In STL_Extension/classCGAL_1_1In__place__list.html we see the line:
```
Both lists are increasingly sorted. A suitable operator< for the type T
```
the word `increasingly` means `more and more`, though most likely `in increasing order` is meant here
2022-09-28 18:59:31 +02:00
Sébastien Loriot
697e1abbc9
add hash function for CGAL vector container
2022-02-24 11:49:02 +01:00
Sébastien Loriot
18ca811f7f
hash value of handles use directly the address of the node
2021-05-27 12:36:17 +02:00
Giles Bathgate
0dcadee486
Fix dereference after null in Polyhedron_incremental_builder_3.h
2021-04-28 17:54:19 +01:00
Giles Bathgate
e7aebc424e
Fix uncaught exception in In_place_list.h
2020-11-29 14:42:55 +00:00
Michael Hemmer
704cdab314
Prevent dynamically bind references to null pointer.
...
This is a manually-generated change. Ensure that behavior and style are
preserved by carefully inspecting the diff.
2020-04-26 07:43:22 +02:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Sébastien Loriot
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Sébastien Loriot
cd7ae286fe
fix warning in a probably not acceptable way
...
warnings trigger when compiling:
- skin_surface_subdiv
- skin_surface_subdiv_with_normals
- union_of_balls_subdiv
- nef_2_polylines
This comes from a call in the incremental builder
to `current_face = decorator.faces_push_back( Face());`
in `begin_facet()`
2018-11-24 13:42:07 +01:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Laurent Rineau
095c27e2be
cosmetic changes
2018-04-17 17:14:19 +02:00
Andreas Fabri
1df9441888
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:54:01 +01:00
Andreas Fabri
303b0ab46e
Fix detection of CGAL_CXX11 for VC++ and fixes of usage of std::allocator_traits
2018-04-16 11:00:03 +01:00
Andreas Fabri
0cccc34cad
Use std::allocator_traits
2018-04-16 08:17:09 +01:00
Andreas Fabri
22bd2815a3
Polyhedron
2018-01-17 17:13:53 +00:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Sebastien Loriot
efd30df215
add missing const
2016-09-15 15:49:02 +02:00
Andreas Fabri
bf975ead95
No longer forward declare struct std:hash
2015-08-23 14:30:54 +02:00
Andreas Fabri
dadb129147
g++ needs a forward declaration for std::hash
2015-06-02 08:46:20 +02:00
Andreas Fabri
b6850d35c0
#include <functional> and suppress struct/class warning for VC10
2015-06-01 10:42:52 +02:00
Andreas Fabri
cf058cba9c
do not use hash of pointers so that our specializations for handles are injective
2015-05-27 17:02:00 +02:00
Andreas Fabri
425cdf0b0c
derive from unary_function; Add #define switch to hash underlying pointer
2015-05-27 12:19:55 +02:00
Andreas Fabri
89b4f37411
divide by sizeof(pointee) in the hash
2015-04-20 14:32:52 +02:00
Sébastien Loriot
d36593eb72
add missing const and remove debug output
2015-04-17 17:22:26 +02:00
Andreas Fabri
832208d815
simplifications
2015-04-17 15:49:21 +02:00
Andreas Fabri
205a594a77
add specializations of hash and add tests
2015-04-17 10:21:14 +02:00
Andreas Fabri
962ef07812
Add hash_value for Compact_container, Inplace_list, Index
2015-03-12 16:21:56 +01:00
Sébastien Loriot
675d26e884
add non-documented remove_const fcts to turn a const-iterator to an iterator
2014-06-24 16:35:10 +02:00
Philipp Möller
465c5b265a
Shuffle two undocumented headers backwards.
...
Also change the 2 places they were used in.
2012-11-17 02:16:32 +01:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Sébastien Loriot
dff6dda8b3
Remove from copyright holder
...
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Guillaume Damiand
261ad9eaf3
Add the 4 operators < <= > >= to compare iterators.
...
Now we can compare two handles (as for example Halfedge_haldle) which is usefull for example to define directly a std::set<Halfedge_handle> (or a std::map) without need to define a comparator class.
NOTE: this modification was preapproved by the released manager.
2011-02-15 12:50:21 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Sylvain Pion
4aa1cb057a
Remove my email adress from header files.
2008-10-11 20:21:08 +00:00
Sylvain Pion
29d15d7eb1
Remove obsolete SunPRO workarounds
2008-01-20 21:51:12 +00:00
Sylvain Pion
4d1b8d63e3
Remove workarounds and support for the BORLAND compiler.
2008-01-20 20:24:20 +00:00
Sylvain Pion
2b46416907
Remove more SUNPRO + RW's STL obsolete workarounds:
...
CGAL_CFG_SUNPRO_RWSTD (partially)
CGAL_reverse_iterator()
2008-01-03 15:04:30 +00:00
Andreas Fabri
4b8a772dee
replacement new instead of allocator::construct
2007-03-19 14:42:00 +00:00
Marc Glisse
f9e7d81429
Clean sunpro rwstd workaround by using reverse_iterator macro.
2006-02-25 23:25:27 +00:00