Commit Graph

374 Commits

Author SHA1 Message Date
Sébastien Loriot 4737f58130 do not use tie when not needed 2025-01-27 14:02:15 +01:00
Sébastien Loriot 107f3696dc boost::tie -> std::tie 2025-01-24 14:20:00 +01:00
Laurent Rineau d907b362bd the patch was still not complete 2024-10-08 12:45:21 +02:00
albert-github a60ff36285 No need for workaround for boost before version 1.47
CGAL requires boost 1.66 or higher since CGAL-5.6.
2023-10-11 11:02:24 +02:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
albert-github de3ba0f47c Merge remote-tracking branch 'upstream/master' into feature/issue_7395 2023-07-17 10:17:34 +02:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Andreas Fabri 6ed2272c1d Classification: Workaround or VC std17 boost bug 2023-07-06 07:26:54 +01:00
Sébastien Loriot 71b4e4f08f boost::shared_ptr => std::shared_ptr 2023-06-15 10:57:01 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
albert-github 7a62583efa spelling corrections
Some spelling corrections (Directories starting with `C`)
2022-11-14 19:14:33 +01:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Laurent Rineau 7228b7d629 Merge pull request #6198 from albert-github/feature/bug_classification_endcond
Superfluous \endcond in Classification package
2022-01-03 16:26:02 +01:00
Sébastien Loriot 7fe4c32c56 remove exe flag 2021-12-27 09:19:42 +01:00
albert-github 100581b26e Superfluous \endcond in Classification package
We get the warning:
```
Classification/Label_set.h:208: warning: the \endcond does not have a corresponding \cond in this file
```

Superfluous \endcond in Classification package removed
2021-12-27 07:32:39 +01:00
Sébastien Loriot 833e51129f really use the type of the returned expression 2021-11-10 11:31:42 +01:00
Sébastien Loriot 4eb1464aed fix Identity_map mutability and fix CGAL code using it 2021-11-09 11:37:24 +01:00
Mael Rouxel-Labbé 131242bb80 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Sébastien Loriot c863ee6754 fix check_headers compilation issues 2021-05-04 17:28:52 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Sébastien Loriot 350b9172c5 replace %CGAL by \cgal (but in titles) 2021-04-11 14:52:01 +02:00
Laurent Rineau 8dc3256685 Merge pull request #5488 from sgiraudot/Classification-Remove_TensorFlow_support-GF
[Small Feature] Remove TensorFlow support
2021-04-06 15:13:15 +02:00
Laurent Rineau f62aaa72b6 Merge pull request #5552 from sloriot/Classif-RF_warning
Fix deprecated include path
2021-04-06 15:12:56 +02:00
Laurent Rineau 473d30bc43 Merge pull request #5571 from sgiraudot/Classification-Sanitize_addresses-GF
Classification: Sanitize addresses
2021-04-06 15:12:45 +02:00
Laurent Rineau 9d699e45fb Merge pull request #5552 from sloriot/Classif-RF_warning
Fix deprecated include path
2021-04-06 15:11:45 +02:00
Simon Giraudot e0ee8aaf42 Fix memory leak by resetting unique ptr instead of releasing 2021-03-31 13:15:36 +02:00
Sébastien Loriot 6ba3a6bae0 fix deprecated include path 2021-03-25 13:26:56 +01:00
Laurent Rineau e3485f75b7 Merge pull request #5540 from maxGimeno/Classification-Fix_missing_include-maxGimeno
Classification: Add missing include
2021-03-24 15:01:15 +01:00
Maxime Gimeno e01b9fb6ad add missing include 2021-03-19 15:59:10 +01:00
Simon Giraudot 8264096ee7 Remove TensorFlow support from Classification 2021-02-23 08:52:02 +01:00
Laurent Rineau 4c947f0ee0 Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston
Clang warnings fixed
2021-02-05 16:10:37 +01:00
Laurent Rineau 657dadf718 Merge pull request #5351 from sgiraudot/Classification-Fix_boost_optional_dependencies-GF
[Classification] Fix Boost optional dependencies
2021-02-05 16:10:32 +01:00
Simon Giraudot fba2e1fc45 Remove false (outdated) dependency to Boost IO Stream / Serialization in code 2021-01-25 15:48:42 +01:00
Dmitry Anisimov 269a47d773
Merge branch 'master' into CGAL-clang_warnings_fix-danston 2021-01-14 16:51:13 +01:00
Dmitry Anisimov 76d1fe8c7e classification range loop analysis ref to copy warning fixed 2021-01-07 16:45:08 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Simon Giraudot 250ab87886 Fix warning using doxygen command instead of markdown 2020-10-12 08:10:41 +02:00
Simon Giraudot 7599bbede7 Better names for 32b size_t IO 2020-10-01 13:53:02 +02:00
Simon Giraudot d5df9c1a94 Use binary_file_io.h and fix size_t ambiguity 2020-10-01 13:27:05 +02:00
Simon Giraudot 627584fd73 Add missing includes 2020-09-30 08:38:45 +02:00
Simon Giraudot c7cd9cbea4 Fix conflicting type name 2020-09-30 08:36:15 +02:00
Simon Giraudot 2d7e15b996 Fix C2563 error on Windows 2020-09-30 08:32:50 +02:00
Simon Giraudot 19004a7432 Merge remote-tracking branch 'mine/Classification-Simpler_IO_for_ETHZ_Random_forest-GF' into Classification-Simpler_IO_for_ETHZ_Random_forest-GF 2020-08-04 13:41:48 +02:00
Simon Giraudot 93d64d108a Specify constness of iterators 2020-08-04 13:16:54 +02:00