git subrepo clone (merge) git@github.com:Rconybea/xo-flatstring xo-flatstring
subrepo: subdir: "xo-flatstring" merged: "996c220e" upstream: origin: "git@github.com:Rconybea/xo-flatstring" branch: "main" commit: "996c220e" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
b2490dedd9
commit
fa57de89fe
32 changed files with 2529 additions and 0 deletions
28
xo-flatstring/include/xo/flatstring/flatstring_pretty.hpp
Normal file
28
xo-flatstring/include/xo/flatstring/flatstring_pretty.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/** @file flatstring_pretty.hpp
|
||||
*
|
||||
* Author: Roland Conybeare, Jul 2025
|
||||
**/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "flatstring.hpp"
|
||||
#include "flatstring_iostream.hpp"
|
||||
#include "xo/indentlog/print/ppdetail_atomic.hpp"
|
||||
|
||||
namespace xo {
|
||||
#ifndef ppdetail_atomic
|
||||
namespace print {
|
||||
struct ppindentinfo;
|
||||
|
||||
template <std::size_t N>
|
||||
struct ppdetail<flatstring<N>> {
|
||||
static bool print_pretty(const ppindentinfo & ppii,
|
||||
const flatstring<N> & x) {
|
||||
return ppdetail_atomic<flatstring<N>>::print_pretty(ppii, x);
|
||||
};
|
||||
};
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/** end flatstring_pretty.hpp **/
|
||||
Loading…
Add table
Add a link
Reference in a new issue