MCPcopy Create free account
hub / github.com/p-ranav/tabulate / create

Method create

include/tabulate/table_internal.hpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53class TableInternal : public std::enable_shared_from_this<TableInternal> {
54public:
55 static std::shared_ptr<TableInternal> create() {
56 auto result = std::shared_ptr<TableInternal>(new TableInternal());
57 result->format_.set_defaults();
58 return result;
59 }
60
61 void add_row(const std::vector<std::string> &cells) {
62 auto row = std::make_shared<Row>(shared_from_this());

Callers

nothing calls this directly

Calls 1

set_defaultsMethod · 0.45

Tested by

no test coverage detected