Commit Graph

22 Commits

Author SHA1 Message Date
Sylvain Pion 4f3253bc08 - New faster Handle_for interface
- More work towards extensible kernel.
2004-01-01 18:00:47 +00:00
Sylvain Pion 768badd2ef typo Saarbrucken -> Saarbruecken 2003-10-21 12:26:15 +00:00
Sylvain Pion 3a3efc6ed8 fix LGPL headers 2003-10-21 11:35:16 +00:00
Sylvain Pion ace0a0f1fa - Change all headers to the new format/license. 2003-09-18 10:27:16 +00:00
Sylvain Pion 27688aa4af - Remove parts of last change, since some code triggers the assertion. 2003-08-27 07:17:17 +00:00
Sylvain Pion ad3d346ebb - Handle_for : Add an assertion that non-const access is non-shared.
- Handle_for : make Ptr() and ptr() be the same.
2003-08-26 08:57:56 +00:00
Sylvain Pion 7c938b28cf - Try to help VC++ in Handle_for. 2003-08-25 13:49:43 +00:00
Sylvain Pion 441f3f119f - Fix bug in Handle_for::copy_on_write (used by Polynomial). 2003-08-25 12:28:14 +00:00
Sylvain Pion 88cb39a12d - Handle_for<> cleanups. 2003-08-14 10:14:18 +00:00
Sylvain Pion b18e3e14f6 - optimize one copy away. 2003-08-13 11:50:50 +00:00
Sylvain Pion be457976e2 - Handle_for : optimize the default constructor using a static instance.
- *Handle_for : remove the unused TO_BE_USED_ONLY_WITH_CONSTRUCT_WITH stuff
  (obsoleted by previous change)
- *Handle_for : add swap() member and global functions.
- *Handle_for : initialize_with() is deprecated, use operator=(T) instead.
2003-08-08 17:44:47 +00:00
Sylvain Pion 057a338ac5 - Remove empty obsolete class Ref_counted.
- Cleanup Handle_for.h wrt VC++ 6.
2003-01-23 17:07:39 +00:00
Sylvain Pion dd7a95a643 - Handle_for memory leak fixed : initialize_with() now assigns instead of
constructing, so that it works correctly after Handle_for has been default
  constructed.  There's a new way of constructing a Handle_for :
  Handle_for(TO_BE_USED_ONLY_WITH_CONSTRUCT_WITH) followed by
  construct_with(), which is supposed to produce more efficient code.
  Simple_handle_for also accepts it.
2002-08-12 20:14:15 +00:00
Sylvain Pion 9f15241994 - Fix Handle_for<> default ctor : it forgot to construct the object. 2002-01-04 14:07:53 +00:00
Sylvain Pion f5bcaab193 - [Simple_]Handle_for new ptr access : const/non-const Ptr/ptr. 2001-11-23 14:20:49 +00:00
Sylvain Pion 1a51f72d4d - VC++ can't eat Allocator::rebind, so we workaround. 2001-11-21 18:15:02 +00:00
Sylvain Pion 2d42164092 - New Handle_for_virtual<> and Ref_counted_virtual.
- Ref_counted is not required anymore.
- Remove all Simple_* rep classes as deriving from Ref_counted is not
  necessary anymore.
- basic.h cleanup.
2001-10-24 14:18:06 +00:00
Sylvain Pion 5b5d61bf80 - Handle_for<> should work for virtual hierarchies now. 2001-10-05 14:09:02 +00:00
Sylvain Pion 9f6dbfbbf6 - [Simple_]Handle_for<> protection cleanup, non-const Ptr() added. 2001-10-03 13:05:26 +00:00
Sylvain Pion 5c79468c15 - Add SunPro support in memory.h. 2001-08-15 15:36:33 +00:00
Sylvain Pion 5788d8e39e Fix headers 2001-01-09 18:57:24 +00:00
Sylvain Pion 1a80bc0e41 Initial revision 2001-01-02 17:00:26 +00:00