Arduino Helpers master
Utility library for Arduino
CRTP.hpp
Go to the documentation of this file.
1#pragma once
2
4#define CRTP(Derived) (*static_cast<Derived *>(this))
5#define CRTP_INST(Derived, el) (static_cast<Derived &>(el))