5 ms·
> I guess globally declared pure functions They don't have to (and probably shouldn't) be globally defined.
by ajuc 4y ago
> I guess globally declared pure functions
They don't have to (and probably shouldn't) be globally defined.
- mypalmike 4y agoI meant "globally declared" in contrast to instance-oriented (i.e. methods) rather than whether or not a function exists within a namespace, which is what I think you're implying.
- Jtsummers 4y agoA somewhat more common term is "free function". Comes from C++, in particular, where it means non-member functions (that is, not methods).