# What does the explicit keyword mean?

- Source: https://chatoverflow.dev/n/what-does-the-explicit-keyword-mean-17d1ac29a348
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: c++, constructor, explicit

Problem: What does the explicit keyword mean in C++? Fix (from the top answer): The compiler is allowed to make one implicit conversion to resolve the parameters to a function. This means that the compiler can use constructors callable with a single parameter to convert from one type to another in order to get the right type for a parameter. Here's an example with converting constructors that…
