Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constexpr ctor are not recognized... #314

Open
FredM67 opened this issue May 1, 2023 · 0 comments
Open

constexpr ctor are not recognized... #314

FredM67 opened this issue May 1, 2023 · 0 comments
Labels

Comments

@FredM67
Copy link

FredM67 commented May 1, 2023

Describe the bug
constexpr ctor are not recognized.
When I remove 'constexpr', everything works fine.

Code example

constexpr relayConfig(int16_t _surplusThreshold, int16_t _importThreshold)
    : surplusThreshold(abs(_surplusThreshold)), importThreshold(abs(_importThreshold))
  {
  }```

**Expected result**

```Cpp
/**
   * @brief Construct a new relay Config object
   * 
   * @param _surplusThreshold Surplus threshold to turn relay ON
   * @param _importThreshold Import threshold to turn relay OFF
   */

Actual result

  /**
   * @brief 
   * 
   */

Screencaps
If applicable, add screencaps to help explain your problem.

Your System:
Version: 1.78.0-insider (system setup)
Commit: e410e7c66e7ce5c6bc31f73150d66857804a0ee9
Date: 2023-04-28T12:24:04.788Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: Yes

Additional context

@FredM67 FredM67 added the bug label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant