]> sourceware.org Git - systemtap.git/commit
interned_string: drop magic c_str() implementation
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 8 Aug 2015 02:53:26 +0000 (22:53 -0400)
committerAbegail Jakop <ajakop@redhat.com>
Tue, 18 Aug 2015 17:24:16 +0000 (13:24 -0400)
commit3e4547ad096dbd58d546aa06e232064d90e16ddf
tree0fe216bac9926be0026dcde1269f9a864e110858
parent419117a30be78142463a00c83d813817b240c520
interned_string: drop magic c_str() implementation

It turns out that while it was right for boost::string_ref not to
provide it, we can, because our interned_string's backing stores
are full (read-only) std::strings, which always carry a \0.  This
shrinks down our interned_string to 2*sizeof(void*) bytes.
INTERNALS
stringtable.cxx
stringtable.h
This page took 0.028027 seconds and 5 git commands to generate.