ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes
formatter.h File Reference

a new formatter library for formatting data More...

#include <string>
#include <iostream>
#include <type_traits>
#include <utility>
#include <cstdio>
#include <numeric>
#include "source_base/ndarray.h"
Include dependency graph for formatter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FmtCore
 In C++20, the std::format library is introduced. However, it is not supported under restriction of ABACUS development that not later than C++11. Plus in ABACUS the formatting-output demands is not quite general but more specific, therefore, a simple alternative is proposed here. To use: More...
 
class  FmtTable
 
struct  FmtTable::Alignments
 
struct  FmtTable::Frames
 
struct  FmtTable::Delimiters
 

Detailed Description

a new formatter library for formatting data

Author
HUANG Yike (huang.nosp@m.yk@a.nosp@m.isi.a.nosp@m.c.cn)
Version
2.0
Date
2024-04-23