mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
This optimizes the common case of a single simple callback (e.g. std::function or lambda) so no additional allocation is required. As a Connection return value is not possible in this case, provide a separate connect_connection() function to provide that.