ATLAS Offline Software
Loading...
Searching...
No Matches
StrFormat.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: StrFormat.h 599890 2014-06-02 13:52:58Z ssnyder $
14
15
16#ifndef CXXUTILS_STRFORMAT_H
17#define CXXUTILS_STRFORMAT_H 1
18
19// stl includes
20#include <string>
21
22namespace CxxUtils {
23
26 std::string strformat(const char* fmt, ...)
27#ifdef __GNUC__
28 __attribute__ ((format (printf, 1, 2)))
29#endif
30 ;
31
32} //> namespace CxxUtils
33
34#endif // not CXXUTILS_STRFORMAT_H
__attribute__((always_inline)) inline uint16_t TileCalibDrawerBase
const char *const fmt
std::string strformat(const char *fmt,...)
return a std::string according to a format fmt and varargs
Definition StrFormat.cxx:49