Logo ROOT  
Reference Guide
functions.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * RA, Roel Aaij, NIKHEF
5 * PB, Patrick Bos, Netherlands eScience Center, p.bos@esciencecenter.nl
6 *
7 * Copyright (c) 2021, CERN
8 *
9 * Redistribution and use in source and binary forms,
10 * with or without modification, are permitted according to the terms
11 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
12 */
13
14#ifndef ZEROMQ_FUNCTIONS_H
15#define ZEROMQ_FUNCTIONS_H 1
16
17#include <cstddef> // std::size_t
18
19namespace ZMQ {
20
21template <class T>
22std::size_t defaultSizeOf(const T &)
23{
24 return sizeof(T);
25}
26
27std::size_t stringLength(const char &cs);
28
29} // namespace ZMQ
30
31#endif // ZEROMQ_FUNCTIONS_H
double T(double x)
Definition: ChebyshevPol.h:34
Definition: functions.h:19
std::size_t stringLength(const char &cs)
Definition: functions.cpp:19
std::size_t defaultSizeOf(const T &)
Definition: functions.h:22