Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. namespace debug_values
  2. {
  3.   ///a map containing the names and offsets of the smart motor node
  4.   static const std::map<const std::string, const unsigned int> names_and_offsets;
  5.  
  6.   std::map<std::string, unsigned int> tmp_map;
  7.   tmp_map["test"] = 1;
  8.  
  9.   const std::map<>  names_and_offsets = const std::map<>(tmp_map)
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement