Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in struct

Types of Go struct methods that satisfy an interface

memory allocation in array of structure using double pointers in C

c arrays pointers struct

How do I decode JSON in Swift when it's an array and the first item is a different type than the rest?

json swift struct jsondecoder

struct vs class as STL functor when using not2

c++ class stl struct

For structs, do I have to call the constructor explicitly in C#?

c# constructor struct explicit

What is the logic behind defining macros inside a struct?

c macros struct

declaring a class with struct keyword and vice versa

c++ class struct declaration

C struct question

c struct

C++ won't let me use a struct as a template argument

c++ templates struct

How to pass a structure to a STL map?

c++ stl map struct

C++ what is "instantiated from here" error?

c++ struct std

Using C++ struct in C

c++ c struct

Is it alright to use memcpy() to copy a struct that contains a pointer?

c++ struct memcpy

How to free size_t from struct

c struct free size-t

Accessing struct member by address

c pointers struct

Are unmentioned struct fields *always* initialised to zero (i.e. when the struct is on the stack)?

c struct initialization

Are members of structs in a vector initialized with zero in C++?

c++ vector struct

If I make a struct and put it in a vector, does it reside on the heap or the stack?

struct rust heap-memory

Why not use pickle instead of struct?

python struct pickle

What is the equivalent in Swift of offsetof(struct, member) in C?

swift memory struct offset