E2245 Cannot allocate a reference (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

You have attempted to create a reference using the new operator.

This is illegal, because references are not objects and can't be created through new.