---
title: "C++ Insights Episode 72: Why you should never call a virtual member function in a constructor"
url: https://daily.dev/posts/c-insights-episode-72-why-you-should-never-call-a-virtual-member-function-in-a-constructor-jphujl39g
source_url: https://andreasfertig.com/blog/2026/03/cpp-insights-episode-72-why-you-should-never-call-a-virtual-member-function-in-a-constructor/
type: article
source: "Andreas Fertig"
published: 2026-03-19T11:16:13.428Z
updated: 2026-03-19T11:16:31.522Z
tags: ["general-programming", "c++"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# C++ Insights Episode 72: Why you should never call a virtual member function in a constructor

**[Andreas Fertig](https://daily.dev/sources/andreasfertig)** · 1 min read · 0 upvotes · 0 comments

## Summary

A C++ Insights episode explaining why calling virtual member functions from a constructor is dangerous. Through examples, it demonstrates the pitfalls of this pattern, which stems from how C++ constructs objects and resolves virtual dispatch during construction.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://andreasfertig.com/blog/2026/03/cpp-insights-episode-72-why-you-should-never-call-a-virtual-member-function-in-a-constructor/>

## Similar posts on daily.dev

- [A reinterpret\_cast Trap](https://daily.dev/posts/a-reinterpret-cast-trap-noyt1yvas) · Jacek Galowicz · 0 upvotes · 0 comments
- [C\+\+ Insights Episode 75: The Ref-Qualifier That Saves You from Undefined Behavior](https://daily.dev/posts/c-insights-episode-75-the-ref-qualifier-that-saves-you-from-undefined-behavior-c2rahyczj) · Andreas Fertig · 0 upvotes · 0 comments
- [C\+\+ Insights Episode 67: C\+\+23: Why if consteval can make your code better](https://daily.dev/posts/c-insights-episode-67-c-23-why-if-consteval-can-make-your-code-better-9tltqcike) · Andreas Fertig · 4 upvotes · 0 comments
- [C\+\+ Insights Episode 73: Things you can do effortlessly with C\+\+20s concepts](https://daily.dev/posts/c-insights-episode-73-things-you-can-do-effortlessly-with-c-20s-concepts-kp8wl2wis) · Andreas Fertig · 0 upvotes · 0 comments
- [C\+\+ Insights Episode 74: Why move requires noexcept in C\+\+20](https://daily.dev/posts/c-insights-episode-74-why-move-requires-noexcept-in-c-20-uhelxmxyk) · Andreas Fertig · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/c-insights-episode-72-why-you-should-never-call-a-virtual-member-function-in-a-constructor-jphujl39g)
