Y
Hacker News
new
|
ask
|
show
|
jobs
by
google234123
1661 days ago
std::cout::write(myInt,": ",something," - ",otherthing," - ",etc,'\n');
Possible with preprocessor.
2 comments
slavik81
1661 days ago
I'm not sure how that could be done before variadic templates were introduced in C++11.
link
fbkr
1661 days ago
I doubt that's possible with the C++98 preprocessor.
link