xo-facet xo-object2: facet fixes + IPrintable_DString
This commit is contained in:
parent
aba9530a57
commit
d2d3b34ce7
21 changed files with 176 additions and 26 deletions
|
|
@ -4,11 +4,13 @@
|
|||
**/
|
||||
|
||||
#include "DString.hpp"
|
||||
#include <xo/indentlog/print/pretty.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
namespace xo {
|
||||
using xo::facet::typeseq;
|
||||
using xo::print::ppdetail_atomic;
|
||||
|
||||
namespace scm {
|
||||
DString *
|
||||
|
|
@ -113,6 +115,12 @@ namespace xo {
|
|||
return shallow_size();
|
||||
}
|
||||
|
||||
bool
|
||||
DString::pretty(const ppindentinfo & ppii) const
|
||||
{
|
||||
return ppdetail_atomic<const char *>::print_pretty(ppii, &(chars_[0]));
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue