osmanip
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
common.hpp
Go to the documentation of this file.
1 //====================================================
2 // File data
3 //====================================================
13 //====================================================
14 // Preprocessor settings
15 //====================================================
16 #pragma once
17 #ifndef OSMANIP_MANIPULATORS_COMMON_HPP
18 #define OSMANIP_MANIPULATORS_COMMON_HPP
19 
20 //====================================================
21 // Headers
22 //====================================================
23 
24 // STD headers
25 #include <string>
26 #include <unordered_map>
27 
28 namespace osm {
29 
30  //====================================================
31  // Functions
32  //====================================================
33  extern const std::string &feat(const std::unordered_map<std::string, std::string> &generic_map,
34  const std::string &feat_string);
35 } // namespace osm
36 
37 #endif
Definition: canvas.cpp:30
const std::string & feat(const std::unordered_map< std::string, std::string > &generic_map, const std::string &feat_string)
It takes an std::map object as the first argument and an std::string object (map key) as the second a...
Definition: common.cpp:41