---
title: "Discussion on \"Use constexpr whenever possible.\" | Hashnode"
description: "Discussion on \"Use constexpr whenever possible.\". If there were an award for the most confusing new word in C++11, constexpr would probably win it. When applied to objects, it’s essentially a beefed-up form of const, but when applied to functions, it has a quite different meaning. Cutting through th..."
url: "https://hashnode.com/posts/use-constexpr-whenever-possible/63b6813502b17878c8e1e21c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Use constexpr whenever possible.](https://tempted.dev/use-constexpr-whenever-possible?utm_source=hashnode&utm_medium=feed)

If there were an award for the most confusing new word in C++11, constexpr would probably win it. When applied to objects, it’s essentially a beefed-up form of const, but when applied to functions, it has a quite different meaning. Cutting through th...

Jan 5, 2023 · 4 min read · tempted.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Amr Shams](https://hashnode.com/@nightbird007)

@nightbird007

  
[View profile](https://hashnode.com/@nightbird007)

if I don't have the answer to your question. give me enough time and I will figure it out

I am a problem solving, in love with C++, python, and Operating systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
