search for: mylib_foo_do_method

Displaying 5 results from an estimated 5 matches for "mylib_foo_do_method".

2015 Oct 29
2
[cfe-dev] [RFC] __attribute__((internal_linkage))
...at 9:03 AM, Steven Stewart-Gallus via cfe-dev <cfe-dev at lists.llvm.org> wrote: > Hello, > > Can I ask for some clarification? > > Apparently, C++ doesn't allow to static class methods? > > While in C one might write inside a header file: > > static inline void mylib_foo_do_method(struct mylib_foo *foo) { > // implementation here > } > > In C++ the typical style would be to write something like: > > namespace mylib { > > void foo::do_method(void) > { > // implementation here > } > } > > Unfortunately, the C++ case then implies s...
2015 Nov 02
2
[cfe-dev] [RFC] __attribute__((internal_linkage))
...rote: > >> Hello, > >> > >> Can I ask for some clarification? > >> > >> Apparently, C++ doesn't allow to static class methods? > >> > >> While in C one might write inside a header file: > >> > >> static inline void mylib_foo_do_method(struct mylib_foo *foo) { > >> // implementation here > >> } > >> > >> In C++ the typical style would be to write something like: > >> > >> namespace mylib { > >> > >> void foo::do_method(void) > >> { > >> /...
2015 Nov 09
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...gt; >> >> >> Can I ask for some clarification? >> >> >> >> Apparently, C++ doesn't allow to static class methods? >> >> >> >> While in C one might write inside a header file: >> >> >> >> static inline void mylib_foo_do_method(struct mylib_foo *foo) { >> >> // implementation here >> >> } >> >> >> >> In C++ the typical style would be to write something like: >> >> >> >> namespace mylib { >> >> >> >> void foo::do_method(void)...
2016 Jul 13
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...ification? > >>> >> > >>> >> Apparently, C++ doesn't allow to static class methods? > >>> >> > >>> >> While in C one might write inside a header file: > >>> >> > >>> >> static inline void mylib_foo_do_method(struct mylib_foo *foo) { > >>> >> // implementation here > >>> >> } > >>> >> > >>> >> In C++ the typical style would be to write something like: > >>> >> > >>> >> namespace mylib { > &gt...
2016 Jul 13
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...> >>>>>>>> Apparently, C++ doesn't allow to static class methods? >>>>>>>> >>>>>>>> While in C one might write inside a header file: >>>>>>>> >>>>>>>> static inline void mylib_foo_do_method(struct mylib_foo *foo) { >>>>>>>> // implementation here >>>>>>>> } >>>>>>>> >>>>>>>> In C++ the typical style would be to write something like: >>>>>>>> >>>>>&g...