How do iomanip' manipulators achieve this? Do they use structures?
I found this: std::ostream& IDENTIFIER(std::ostream &out) { /*code*/ return out;}
But that takes no arguments..
@Grime, I should've realized that. The function would need to be constexpr. I've edited the code above. Hopefully it works now. It's not perfect since it's accepting any ostream& but the ostream& needs to be a console.