RAD Studio |  |

E2531: Parameter is an incomplete type (C++)

This error occurs when an incomplete type is passed into a type trait function that does not accept incomplete type parameters. For example:

Copy Code

            class A;
            void foo()
            {
              __is_abstract(A); // error
            }

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!