Comments (2)
Sorry if the title misleads. However I think in this case, minimal is in the eye of the beholder. Some types of minimal I can think of include:
- Minimal build-time?
- Minimal lines of code?
- Minimal build configuration for user projects?
- Minimal new concepts for users? (eg, their existing types with
operator<<
defined will work without any extra effort) - Minimal object size?
- Minimal binary dependencies (ie, no libstdc++) ?
I think this library does fairly well on 1-4. 5 could certainly be improved with separate compilation. 6 is not so good, as you point out.
But overall, the philosophy here is one of minimalism so I feel the summary is largely accurate.
from tinyformat.
or even decoupled the underlying "real-output" function and make this wrapper more abstract
Regardless of quibbles of terminology, this is a decent idea and could be worth pursuing. I don't have time to do it myself, however.
from tinyformat.
Related Issues (20)
- Support for POSIX extension of positional arguments HOT 2
- const std::atomic actual parameter with requested alignment of 8 won't be aligned HOT 3
- Usage question: How to NOT display a parameter? HOT 1
- puts HOT 6
- Segmentation Fault with Intel Compiler HOT 10
- Cannot print volatile variables: error: invalid static_cast from type const volatile unsigned int* to type const void* HOT 1
- Why only 16 parameters instead of 32, 64, 128? HOT 7
- Use typename instead of class on TINYFORMAT_ARGTYPES? HOT 2
- Template program to count the number of format specifiers and check if they match the arguments count HOT 2
- Cannot print function pointer HOT 13
- Issues found during tinyformat audit (part of Bitcoin Core audit) HOT 5
- How to override the formatValue function?
- error: invalid static_cast from type โconst void*โ to type โvoid (*)()โ HOT 1
- Formatting NaN or infinity with explicit precision injects spurious zeros HOT 2
- Multiple symbol definitions after commit 9368985 HOT 2
- Passing -INF through %.16d still puts the minus sign at far-left HOT 1
- Different output for earlier compilers HOT 1
- Not enough conversion specifiers in format string HOT 4
- Update minimum CMake version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyformat.