Skip to content
Snippets Groups Projects
Commit 9b0bf0d7 authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Move Wpair wolf.h ---> converter.h

parent e66cea7a
No related branches found
No related tags found
1 merge request!366Resolve "Complete state vector new data structure?"
Pipeline #5554 failed
......@@ -283,14 +283,6 @@ inline bool file_exists(const std::string& _name)
inline const Eigen::Vector3d gravity(void) {
return Eigen::Vector3d(0,0,-9.806);
}
template<class A, class B>
struct Wpair : std::pair<A,B>
{
Wpair(A first, B second): std::pair<A,B>(first, second)
{
}
};
} // namespace wolf
#endif /* WOLF_H_ */
......@@ -23,6 +23,14 @@
*/
namespace wolf{
template<class A, class B>
struct Wpair : std::pair<A,B>
{
Wpair(A first, B second): std::pair<A,B>(first, second)
{
}
};
//// CONVERTERS ~~~~ STRING ----> TYPE
template<typename T>
struct converter{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment