Top "Typedef" questions

In C and C++, the typedef keyword allows you to create an alias for a known data type.

What is a C++11 extension [-Wc++11-extensions]

I need some help understanding where this error is occurring: warning: in-class initialization of non-static data member is a C++11 …

c++ c++11 warnings typedef in-class-initialization
How does typedef-ing a block works

In C/Obj-C, we do a typedef like this typedef int MYINT; which is clear. Doing typedef for a block …

objective-c objective-c-blocks typedef
Can a function prototype typedef be used in function definitions?

I have a series of functions with the same prototype, say int func1(int a, int b) { // ... } int func2(int …

c typedef function-declaration
Propagating 'typedef' from based to derived class for 'template'

I'm trying to define base class, which contains typedef's only. template<typename T> class A { public: typedef std::…

c++ templates inheritance typedef name-lookup
C++ typedef member function signature syntax

I want to declare type definition for a member function signature. Global function typedefs look like this: typedef int (function_…

c++ typedef member-functions method-signature
What is a typedef in Dart?

I have read the description, and I understand that it is a function-type alias. A typedef, or function-type alias, gives …

typedef dart
Why do I need to use typedef typename in g++ but not VS?

It had been a while since GCC caught me with this one, but it just happened today. But I've never …

c++ g++ typedef typename
Conflicting declaration

I have a typedef defined in my code as typdef unsigned int size_t; it is conflicting with stddef's typedef __…

c++ typedef conflict size-t
templated typedef?

I'm using libgc, a garbage collector for C and C++. To make STL containers garbage collectible one must use the …

c++ templates c++11 typedef
Format specifiers for implementation-defined types like time_t

I want to make my code more platform-/implementation-independent. I don't know what a time_t will be implemented as …

c printf typedef time-t