]>
git.proxmox.com Git - ceph.git/blob - ceph/src/include/stringify.h
1 #ifndef __CEPH_STRINGIFY_H
2 #define __CEPH_STRINGIFY_H
7 #include "include/types.h"
10 inline std::string
stringify(const T
& a
) {
11 #if defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER))
12 static __thread
std::ostringstream ss
;
15 std::ostringstream ss
;
21 template <class T
, class A
>
22 T
joinify(const A
&begin
, const A
&end
, const T
&t
)
25 for (A it
= begin
; it
!= end
; it
++) {