Displaying 1 result from an estimated 1 matches for "zmemorybuffer".
Did you mean:
memorybuffer
2011 Feb 24
0
[LLVMdev] MemoryBuffer and its requirement for NULL termination
...lemented by inheriting from it.
Using two classes has the advantaged that the requirement for null
termination shows up in the type signature.
Now, what should the default be? My preference would be to use the name
MemoryBuffer for a class that doesn't guarantee null termination and
have a ZMemoryBuffer that does. If it is really common to depend on the
null termination, we can keep MemoryBuffer with its current meaning and
call the base class NZMemoryBuffer or something.
Better names suggestions are welcome :-)
Cheers,
Rafael