StackOverflow Questions for Tag: const-pointer

Evgeny Ilyin
Evgeny Ilyin

Reputation: 141

Implicit and explicit conversion of pointers to const objects in C

Score: 0

Views: 86

Answers: 3

Read More
Abdulmalek Almkainzi
Abdulmalek Almkainzi

Reputation: 461

Create a readonly pointer argument of any type in C

Score: 1

Views: 154

Answers: 2

Read More
jozxyqk
jozxyqk

Reputation: 17396

Return an immutable vector of unique_ptr

Score: 0

Views: 139

Answers: 0

Read More
yyd
yyd

Reputation: 33

Warning about assignment of pointer to const pointer

Score: 1

Views: 104

Answers: 1

Read More
Object Unknown
Object Unknown

Reputation: 315

Invalid conversion from ‘const char*’ to ‘char*’ with ```rindex``` function

Score: 1

Views: 75

Answers: 1

Read More
user20295136
user20295136

Reputation:

function returning const pointer

Score: 2

Views: 611

Answers: 1

Read More
Alexey104
Alexey104

Reputation: 1281

Is it necessarily bad to use const_cast when working with legacy libraries?

Score: 1

Views: 173

Answers: 1

Read More
Meph
Meph

Reputation: 372

Using iterator to retrieve const values pointed to in containers

Score: 0

Views: 409

Answers: 3

Read More
Ashish Jog
Ashish Jog

Reputation: 11

Constant Integer pointer passed to the function expecting a integer pointer modifies the value of constant integer?

Score: 0

Views: 25

Answers: 0

Read More
mariusmmg2
mariusmmg2

Reputation: 723

Meaning of const pointers as function parameters

Score: 6

Views: 5589

Answers: 2

Read More
Hobber
Hobber

Reputation: 192

const pointer to struct containing a mutex

Score: 0

Views: 273

Answers: 2

Read More
KMot
KMot

Reputation: 507

C++ Best way to have class member which is a pointer (or reference) to another class and can handle both const and non-const situations

Score: 0

Views: 62

Answers: 0

Read More
code_fodder
code_fodder

Reputation: 16401

casting int * const to long int * const warning

Score: 2

Views: 481

Answers: 1

Read More
b1000
b1000

Reputation: 107

Modifying a const pointer in C

Score: 3

Views: 476

Answers: 3

Read More
user13739935
user13739935

Reputation:

Why Can't Make a Reference To Pointer for Constant Assign a String Literal

Score: 5

Views: 737

Answers: 3

Read More
Unimportant
Unimportant

Reputation: 2096

Prefered way to pass a const reference/pointer to a class for storing, not to copy the referred object

Score: 0

Views: 77

Answers: 1

Read More
bedrorom
bedrorom

Reputation: 480

How to find by a const pointer key in a map with non-const pointer keys

Score: 10

Views: 2196

Answers: 4

Read More
Some Name
Some Name

Reputation: 9540

How to reclaim struct correctly?

Score: 0

Views: 143

Answers: 1

Read More

static const pointer to global volatile

Score: 1

Views: 220

Answers: 1

Read More
Snackoverflow
Snackoverflow

Reputation: 6281

const void (* to function)

Score: 1

Views: 1797

Answers: 2

Read More
PreviousPage 1Next