Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::communication::HasPosition< T, typename > Struct Template Reference

A helper struct to check if a type T has a member named 'position'. More...

#include <marker.hpp>

Inheritance diagram for common_lib::communication::HasPosition< T, typename >:
Inheritance graph
Collaboration diagram for common_lib::communication::HasPosition< T, typename >:
Collaboration graph

Detailed Description

template<typename T, typename = void>
struct common_lib::communication::HasPosition< T, typename >

A helper struct to check if a type T has a member named 'position'.

This base template assumes that T does not have a 'position' member.

Template Parameters
TThe type to check.
typenameA helper typename defaulted to void, used for SFINAE.

Definition at line 51 of file marker.hpp.


The documentation for this struct was generated from the following file: