does anyone happen to know of any sites with advanced typedef's such as functions...pointeres....etc? i've seen them used and would like to know more about how to use them -thx

Recommended Answers

All 3 Replies

Hmm, well..
here you can assign a name to a function pointer...

typedef void (*someFunc)(int param);
someFunc func_pointer = nullptr;

I don't know any sites but google does, and it spat out this site first. Try it.

"advanced typedefs"!??!?

Almost all libraries have a number of typedefs (in addition to their classes and functions) to make things convenient (and more abstract).

You might want to take a look at Boost. You'll find plenty of "advanced typedefs" there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.