Vladimir Krivopalov
7b1d4915a1
to_string: Add operator<< overload for std::optional.
...
Signed-off-by: Vladimir Krivopalov <vladimir@scylladb.com >
2018-08-17 18:20:05 -07:00
Asias He
77018b7304
to_string: Add std::list and utils::chunked_vector support
...
It will be used by the gossip code.
2018-07-17 16:14:31 +08:00
Calle Wilund
2095cb82a5
utils::to_string: Add printers for pairs+maps
2017-12-05 14:28:34 +00:00
Avi Kivity
ebaeefa02b
Merge seatar upstream (seastar namespace)
...
- introcduced "seastarx.hh" header, which does a "using namespace seastar";
- 'net' namespace conflicts with seastar::net, renamed to 'netw'.
- 'transport' namespace conflicts with seastar::transport, renamed to
cql_transport.
- "logger" global variables now conflict with logger global type, renamed
to xlogger.
- other minor changes
2017-05-21 12:26:15 +03:00
Duarte Nunes
8b7d7c4e6d
to_string: Add missing include
...
Signed-off-by: Duarte Nunes <duarte@scylladb.com >
2017-05-04 15:59:49 +02:00
Avi Kivity
a83a24268d
to_string: move standard container overloads of to_string to std:: namespace
...
Argument-dependent lookup will not find to_string() overloads in the global
namespace if the argument and the caller are in other namespaces.
Move these to_string() overloads to std:: so ADL will find them.
Found by clang.
2017-04-17 23:03:15 +03:00
Paweł Dziepak
910bff297a
to_string: add operator<< overload for std::array<>
2017-03-01 16:33:36 +00:00
Pekka Enberg
38a54df863
Fix pre-ScyllaDB copyright statements
...
People keep tripping over the old copyrights and copy-pasting them to
new files. Search and replace "Cloudius Systems" with "ScyllaDB".
Message-Id: <1460013664-25966-1-git-send-email-penberg@scylladb.com >
2016-04-08 08:12:47 +03:00
Tomasz Grabiec
307c7676da
to_string: Make std::experimental::optional printable
...
Message-Id: <1456855674-1984-2-git-send-email-tgrabiec@scylladb.com >
2016-03-02 10:49:14 +02:00
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