]>
git.proxmox.com Git - ceph.git/blob - ceph/src/include/stringify.h
d7b90ed2c909413af2c27c1af5ab17902442c882
1 #ifndef __CEPH_STRINGIFY_H
2 #define __CEPH_STRINGIFY_H
8 inline std::string
stringify(const T
& a
) {
9 #if defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER))
10 static __thread
std::ostringstream ss
;
13 std::ostringstream ss
;
19 template <class T
, class A
>
20 T
joinify(const A
&begin
, const A
&end
, const T
&t
)
23 for (A it
= begin
; it
!= end
; it
++) {