DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
string_ptr.hpp
Go to the documentation of this file.
1#ifndef CONFFWK_STRING_PTR_H_
2#define CONFFWK_STRING_PTR_H_
3
4#include <string>
5
6namespace dunedaq {
7namespace conffwk
8{
10 bool operator()(const std::string * left, const std::string * right) const
11 {
12 return *left < *right;
13 }
14 };
15
17 {
18 inline size_t operator() ( const std::string * x ) const {
19 return reinterpret_cast<size_t>(x);
20 }
21 };
22} // namespace conffwk
23} // namespace dunedaq
24#endif // CONFFWK_STRING_PTR_H_
Including Qt Headers.
bool operator()(const std::string *left, const std::string *right) const
size_t operator()(const std::string *x) const