StackOverflow Questions for Tag: friend-function

lobelk
lobelk

Reputation: 502

How to convert between children types when inheriting privately

Score: 1

Views: 87

Answers: 0

Read More
Emil Atanasov
Emil Atanasov

Reputation: 11

Why declaration of friend to nested templates member fuction work in class, but not in template

Score: 1

Views: 70

Answers: 1

Read More
bitmask
bitmask

Reputation: 34644

Why does friendship seem transitive with befriended function templates?

Score: 18

Views: 1199

Answers: 1

Read More
Monte
Monte

Reputation: 39

How is the friend function accessed in the case of accessing private class member?

Score: 0

Views: 77

Answers: 1

Read More
greywolf82
greywolf82

Reputation: 22193

Friend protected method in c++

Score: 2

Views: 15064

Answers: 3

Read More
user2236974
user2236974

Reputation: 89

Can 2 classes share a friend function?

Score: 7

Views: 16995

Answers: 4

Read More
kat
kat

Reputation: 13

Friend function cannot be called unless I define it before main

Score: 0

Views: 38

Answers: 0

Read More

declare a class member function as a friend function of another class

Score: 0

Views: 86

Answers: 1

Read More
tntnkn
tntnkn

Reputation: 143

why explicit specialization of a friend function is allowed?

Score: -1

Views: 96

Answers: 1

Read More
Zraie
Zraie

Reputation: 9

Friend function inside a class template

Score: 0

Views: 106

Answers: 2

Read More
Tobías Milano
Tobías Milano

Reputation: 1

Error when using data-member of a class inside a friend function defined in another class

Score: 0

Views: 39

Answers: 0

Read More
Yking
Yking

Reputation: 1

Member function of a class that is friend of another and takes an object of that class as an argument

Score: 0

Views: 78

Answers: 1

Read More
prapin
prapin

Reputation: 6898

Call a hidden friend function

Score: 5

Views: 222

Answers: 2

Read More
Abyx
Abyx

Reputation: 12928

Friend function is not visible in the class

Score: 11

Views: 3514

Answers: 4

Read More
TheCrafter
TheCrafter

Reputation: 1939

Error on MSVC when trying to declare std::make_unique as friend of my templated class

Score: 5

Views: 979

Answers: 2

Read More
lahirupw
lahirupw

Reputation: 23

Can I use a friend function defined within a class as my thread function?

Score: 0

Views: 88

Answers: 0

Read More
Chimess
Chimess

Reputation: 25

Friend function not callable from template class operator overload

Score: 0

Views: 45

Answers: 1

Read More
wanghan02
wanghan02

Reputation: 1317

accessing member in trailing return type vs. in requires clause of a locally defined friend function

Score: 3

Views: 174

Answers: 1

Read More

I can't associate private class members with a friendly function

Score: 0

Views: 72

Answers: 1

Read More
Auly
Auly

Reputation: 9

friend function was not declared in this scope

Score: 0

Views: 42

Answers: 0

Read More
PreviousPage 1Next