--- description: "Learn more about the C26456 DONT_HIDE_OPERATORS C++ Core Guidelines Checker warning. Hiding base methods is error prone and makes code harder to read." title: Warning C26456 ms.date: 04/29/2022 f1_keywords: ["C26456", "DONT_HIDE_OPERATORS"] helpviewer_keywords: ["C26456"] ms.assetid: 3a3ad636-0938-40b5-93ce-169322e2ff23 author: kylereedmsft ms.author: kylereed ms.custom: kr2b-contr-experiment --- # Warning C26456 > Operator '*symbol_1*' hides a non-virtual operator '*symbol_2*' (c.128) ## Remarks Hiding base methods that aren't virtual is error prone and makes code harder to read. Code analysis name: `DONT_HIDE_OPERATORS` ## See also [C++ Core Guideline c.128](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c128-virtual-functions-should-specify-exactly-one-of-virtual-override-or-final)