DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
string_ptr.hpp
Go to the documentation of this file.
1//
2// DUNE DAQ modification notice:
3// This file has been modified from the original ATLAS config source for the DUNE DAQ project.
4// Fork baseline commit: 67a24e731 (2022-10-27).
5// Renamed since fork: yes (from config/string_ptr.h to include/conffwk/string_ptr.hpp).
6//
7
8#ifndef CONFFWK_STRING_PTR_H_
9#define CONFFWK_STRING_PTR_H_
10
11#include <string>
12
13namespace dunedaq {
14namespace conffwk {
16{
17 bool operator()(const std::string* left, const std::string* right) const { return *left < *right; }
18};
19
21{
22 inline size_t operator()(const std::string* x) const { return reinterpret_cast<size_t>(x); }
23};
24} // namespace conffwk
25} // namespace dunedaq
26#endif // CONFFWK_STRING_PTR_H_
The DUNE-DAQ namespace.
bool operator()(const std::string *left, const std::string *right) const
size_t operator()(const std::string *x) const