Commit Graph

13 Commits

Author SHA1 Message Date
Asias He
c973d2ea65 to_string: Support std::set and std::unordered_set for to_string 2015-11-16 13:11:43 +02:00
Calle Wilund
a8742cd199 to_string: Add << operator for std::set 2015-09-30 09:09:43 +02:00
Avi Kivity
d5cf0fb2b1 Add license notices 2015-09-20 10:43:39 +03:00
Asias He
e572101433 to_string: Support print std::unordered_set
With this, we can do

std::unordered_set<dht::tokens> tokens
logger.debug("tokens = {}", tokens)
2015-08-04 20:39:32 +08:00
Avi Kivity
bd3aa31c18 db: make join() work on any range, not just a vector 2015-04-01 20:12:39 +03:00
Tomasz Grabiec
51af0ad8cd to_string: Implement to_string() for std::initializer_list<> 2015-03-30 09:07:01 +02:00
Tomasz Grabiec
14fe96c02e to_string: Implement to_string() using join() 2015-03-30 09:07:01 +02:00
Tomasz Grabiec
c32d0497d2 Switch templates from to_string.hh to rely on operator<< only 2015-03-23 11:04:51 +01:00
Tomasz Grabiec
b3f601c27d to_string: Fix size type mismatch 2015-03-11 14:56:09 +01:00
Tomasz Grabiec
58cf8758f7 to_string: Take vectors by const& 2015-03-11 14:56:09 +01:00
Tomasz Grabiec
49d97a7f93 to_string: Introduce join() 2015-03-11 14:56:09 +01:00
Tomasz Grabiec
8d03ebb8a8 to_string: Add missing includes 2015-02-12 19:40:56 +01:00
Tomasz Grabiec
88e276d272 Introduce to_string() working on vectors of printable 2015-02-04 10:28:59 +01:00