# One way of thinking about access specifiers in C++/WinRT implementation types

DevFeed: [One way of thinking about access specifiers in C++/WinRT implementation types](<https://devfeed.tech/articles/one-way-of-thinking-about-access-specifiers-in-c-winrt-implementation-types-85050.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261009-00/?p=112764/>)

Author: Raymond Chen

Published: 2026-10-09T14:00:00Z

Content type: tutorial

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [Windows UI Library (WinUI)](<https://devfeed.tech/topics/winui.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [post](<https://devfeed.tech/tags/post.md>), [type](<https://devfeed.tech/tags/type.md>), [widget](<https://devfeed.tech/tags/widget.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

The post explains how C++/WinRT implementation types use C++ access specifiers. It contrasts public members that implement interfaces with members visible within a module, protected members accessible to derived implementation classes, and private members. It also describes how the IDL compiler generates interfaces from a runtime class declaration.

## Source excerpt

Mapping them to concepts from C# and the now-defunct C++/CX. The post One way of thinking about access specifiers in C++/WinRT implementation types appeared first on The Old New Thing.