aui-framework / aui-framework/aui
Universal formattable concept
- Dominant language
- C++
- Stars
- 598
- Forks
- 44
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 3
Description
### Describe the need of your project
There's a zoo of formattable concepts in AUI:
- `operator<<` (default c++)
- `fmt::formattable` (from {fmt})
- `PrintTo` (from gtest)
They are not interchangeable. I want implement formattable/printable concept once per type instead implementing it 3x times per type.
### Proposed solution
Take `fmt::formattable` as base formatting concept. As AUI uses both GTest and {fmt}, implement GTest's `PrintTo` function and use `fmt::formattable` there.
### Alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start by locating AUI's existing operator<< implementations and its integrations with fmt::formattable and GTest PrintTo; compare how each is used. Done means one per-type formatting concept can serve both {fmt} and GTest without requiring three implementations, with behavior checked across both consumers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100