You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code returns error error: taking address of temporary [-fpermissive]
I did check PHP-CPP source code in value.h and may be I'm wrong but it seems that Array access operators are returning copy of the value. Is there a way to make myjsonObj[myKey]return a reference to the value?
The text was updated successfully, but these errors were encountered:
Hey, Thanks for this awesome project! This is saving my life hehe!
I have this portion of code.
This code returns error
error: taking address of temporary [-fpermissive]
I did check PHP-CPP source code in value.h and may be I'm wrong but it seems that Array access operators are returning copy of the value. Is there a way to make my
jsonObj[myKey]
return a reference to the value?The text was updated successfully, but these errors were encountered: