Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6183

SDK • Templates with RAM functions

$
0
0
How does one do this:

Code:

template <typename T, typename R> static T __not_in_flash_func(get_value)(uint16_t index) {// ...}T p = get_value<Object<GEOMETRY::Square, MATH::Area>, uint8_t>(i);
I ran into an issue with the comma once.

Statistics: Posted by dthacher — Mon Feb 26, 2024 2:42 pm



Viewing all articles
Browse latest Browse all 6183

Trending Articles