search for: funct_typ

Displaying 2 results from an estimated 2 matches for "funct_typ".

Did you mean: funct_type
2017 Jan 10
2
[cfe-dev] Modernizing LLVM Coding Style Guide and enforcing Clang-tidy
...m, with the explicit `fptr* ptr`). >> > > Not sure I follow. You're saying this: > > typedef int func_type(const int&); > > is easier for you to read than this: > > using func_type = int(const int&); > > ? > > I never saw syntax typedef int funct_type(const int&); I tried to use it and I got compile error for code: int z(const int&); int main() { typedef int fptr(const int&); fptr f = z; f(42); } where typedef int (*fptr)(const int&) works. > >> -- Sanjoy >> ____________________________________...
2017 Jan 09
3
[cfe-dev] Modernizing LLVM Coding Style Guide and enforcing Clang-tidy
Hi, Sorry I fat fingered an earlier send in the previous email. I was trying to say: On Mon, Jan 9, 2017 at 2:52 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: >> +1 Exactly this. >> I don't think C programmer will not understand using. The "=" makes it much >> simpler to read, even if it is the first time you see it, which is not the >>