Sylvain Pion
d49e006c53
Remove default argument "0" to calls to assertion_fail() et al,
...
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what(): basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Sylvain Pion
1f492aa1e8
Remove unused, undocumented, and superceeded by boost::function_output_iterator (more or less)
...
class Transform_output_iterator.
2007-11-20 14:05:31 +00:00
Andreas Meyer
fdeedcf8b0
some low level code cleanup. renamed
...
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion
848b455cc6
Use default arguments...
2007-11-05 17:13:21 +00:00
Sylvain Pion
2c25427164
- New class Default_argument that helps shrink error messages
...
and mangled names.
- Use it in Compact_container in place of Default_allocator
which was playing the same role, but less generally.
2007-11-02 16:16:02 +00:00
Sylvain Pion
ef264999b3
Renaming of Compact_container's construct_insert() to emplace() to match C++0x.
...
It breaks backward compat, but I doubt many people use Compact_container directly.
Make it use variadic templates, while at it.
2007-10-20 20:51:59 +00:00
Sylvain Pion
4da7713aa8
Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
...
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Andreas Meyer
ba23c28c2b
* added #include <CGAL/basic>
...
* moved some support functions/classes from EXACUS to STL_Extensions/iostream:
- Benchmark_rep (similar to Output_rep)
- a functor Pair_lexicographical_less_than
(previously called Product_order in EXACUS)
- a functor Handle_id_less_than
2007-07-04 16:25:33 +00:00
Sylvain Pion
54b01bd44f
Speed up the clear() function (and therefore the destructor), by allowing
...
the compiler to optimize away a complete walk over the container for
types with trivial destructors.
2007-06-08 22:35:58 +00:00
Sylvain Pion
bea63ec2f6
formatting
2007-06-08 21:22:45 +00:00
Andreas Meyer
7c09dc370a
* removed unused "old_alloc_strategy", based on LEDA
...
* some leda stuff remains : added version-dependent include for leda/memory.h
2007-04-20 12:16:17 +00:00
Sylvain Pion
8cb773f976
Rename variable to avoid shadowing warning.
2007-04-18 09:01:37 +00:00
Sylvain Pion
1fd9eeaeef
Fix Quadruple's operator!=.
2007-04-16 16:26:57 +00:00
Laurent Rineau
f9538d6cb8
Same think: missing operator!= for Quadruple.
...
Warning: I have not tested that one.
2007-04-14 18:10:44 +00:00
Laurent Rineau
ec055e953b
Triple had an operator==. The operator!= was missing.
2007-04-14 17:58:29 +00:00
Andreas Meyer
116d4b6570
* EXACUS -> CGAL cleanups
...
* license header
* cosmetic changes
2007-04-03 16:07:32 +00:00
Sylvain Pion
57730e837e
Fix headers.
2007-04-03 15:13:47 +00:00
Andreas Fabri
4b8a772dee
replacement new instead of allocator::construct
2007-03-19 14:42:00 +00:00
Sylvain Pion
09c71b26f9
warning--
2007-03-08 09:48:21 +00:00
Sylvain Pion
675f5c6104
add parenthesis to remove g++ 4.3 warning
2007-03-05 16:27:54 +00:00
Sylvain Pion
62fc224512
comment unused argument to prevent warning
2007-03-02 11:05:53 +00:00
Fernando Cacciola
63442a954a
License headers fixed.
2007-02-28 18:06:42 +00:00
Fernando Cacciola
8a3dee2292
C2vcproj fixed to look for master_71.vcproj instead of master_VC71.vcproj.
...
Missing svn properties added
2007-02-27 16:50:16 +00:00
Bernd Gärtner
34dd0eae83
- unused ariable warning fix
2007-02-23 08:35:43 +00:00
Andreas Meyer
1996f8c159
added a mpl struct is_same_or_equal, similar to
...
boost::is_same / boost::is_base_and_derived
2007-02-17 21:25:09 +00:00
Sylvain Pion
25e0f2349f
Try replacing custom int_to_string by boost::lexical_cast
2007-02-05 15:53:32 +00:00
Michael Hemmer
95d26f6787
the function check_tag is deprecated since CGAL 3.3
2007-02-02 08:37:35 +00:00
Fernando Cacciola
c211eb0aa9
Fixed incorrect 'typename'
2007-01-19 19:05:10 +00:00
Fernando Cacciola
278e0bbc77
VC8 STL iterator fixes
2007-01-18 13:46:53 +00:00
Sylvain Pion
0530a7d920
min_n() and max_n() functions similar to std::min() and std::max(),
...
but which allow more than 2 arguments.
2006-12-02 21:50:30 +00:00
Andreas Fabri
dd978791ea
Workaround for VC++ -- reintroduced
2006-11-10 11:51:35 +00:00
Michael Hemmer
6e8bfad68a
new design for Tag_true/Tag_false
...
get tag via Boolean_tag<bool>
has public member: bool value
2006-11-08 14:36:53 +00:00
Michael Hemmer
7936604249
restored original version of Null_functor
2006-11-08 10:11:49 +00:00
Andreas Fabri
412c009679
Give Null_functor some nested types
2006-10-27 17:55:23 +00:00
Andreas Meyer
f8c89d0986
* included EXACUS test programs in STL_Extension test (hardcoded in makefile and cgal_test)
...
* removed some leftover #include <CGAL/LiS/basic.h>
2006-10-26 11:24:40 +00:00
Andreas Meyer
e9e8387260
merged changes from CGAL_with_EXACUS branch into trunk.
...
revisions used:
(1) 32995:34537
(2) 34538:34906
2006-10-24 15:21:25 +00:00
Sylvain Pion
5aba55173f
Introduce CGAL_NDEBUG.
2006-08-11 13:01:36 +00:00
Andreas Fabri
2fb18f532d
Fixed min max problem
2006-07-31 22:31:49 +00:00
Sylvain Pion
e4f5e2a1ef
- Introduce exception throwing as assertion behavior.
...
- Make it the default.
- FIXME : the exception classes are not yet documented.
2006-07-13 17:46:18 +00:00
Andreas Fabri
4aa722c47c
empty circulator ranges must not be encoded with default constructed iterators
2006-06-15 13:39:06 +00:00
Ron Wein
623b747d42
Changed the header such that the copyright is only for TAU.
2006-05-16 10:11:35 +00:00
Ron Wein
68d5ab3e0c
Fixed a bug in the swap(pos1, pos2) function.
2006-05-14 07:40:30 +00:00
Marc Glisse
b13e3b5ec0
Last round of missing std:: before 3.2 (Andreas permission)
2006-04-19 16:56:12 +00:00
Sylvain Pion
23d1b2e70d
- Renaming to avoid potential confusion
2006-03-25 12:21:56 +00:00
Marc Glisse
0756f34663
Work around yet another sunpro bug, where it complains about an ambiguity
...
between A and A.
2006-02-28 16:03:31 +00:00
Marc Glisse
f9e7d81429
Clean sunpro rwstd workaround by using reverse_iterator macro.
2006-02-25 23:25:27 +00:00
Marc Glisse
733a96b81c
Try new version of sunpro reverse_iterator workaround.
2006-02-25 00:14:28 +00:00
Monique Teillaud
6c595610ca
revert my previous change (in fact Sylvain had already fixed the bug in svn
...
after the internal release)
2006-02-24 10:02:04 +00:00
Monique Teillaud
30712bb7ba
commenting Sylvain's recent addition, which should give a chance to
...
tomorrow's test suite to get more green boxes...
2006-02-24 09:45:18 +00:00
Sylvain Pion
7efa173f71
- Fix last change.
2006-02-23 22:32:10 +00:00