E2466 void & is not a valid type (C++)

From RAD Studio
Jump to: navigation, search

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

A reference always refers to an object, but an object cannot have the type void.

Thus, the type void is not allowed.