haiku/headers
Adrien Destugues e9b8242868 Add a BConstReference class.
This is a BReference that allows only const access to the referenced
object. This was not easily possible with the existing BReference for
two reasons:
* BReference<const Type> would not work, as BReference needs to change
the reference count of the referenced object. Adding mutable and casting
where appropriate wouldwork but,
* It is now also possible to assign a BReference to a BConstReference
(to the same type, of course). The reverse is not allowed, making it
more difficult to "const cast" the referenced object (it's still
possible to "get" the object pointer and cast that).

BConstReference can be used to provide shared read-only access to an
object, for example this can be used to cache non-copiable or
expansive to create objects.
2015-01-26 10:50:48 +01:00
..
build Forgot to fix LDBL_MIN... 2014-10-15 13:08:10 +02:00
compatibility Implement getifaddrs. 2015-01-16 13:10:57 +01:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp Add a <limits> header for gcc2. 2014-11-27 12:14:39 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Outsource ncurses. 2014-12-18 10:18:39 +01:00
os Add a BConstReference class. 2015-01-26 10:50:48 +01:00
posix stdint.h: use correct type for INT64_MAX (#11647) 2014-12-20 10:06:21 +01:00
private Fix instanciate_catalog prototype 2015-01-17 17:02:40 +01:00
tools Remove preprocessor checks from TestShell.h 2014-07-29 23:05:52 +02:00