← Back to Pull requests

[fix] drop template-ids from constructor and destructor declarations #1198

Closed
xliang76 closed this pull request without merging on Nov 01, 2026 20:42 UTC
View on GitHub
xliang76 xliang76 commented on Nov 01, 2026 20:41 UTC
Author

C++20 (P048R2) makes a template-id ill-formed as the declarator-id of a constructor or destructor: declarations like '~basic<concurrency,names>()' and 'syslog<concurrency,names>(...)' no longer compile. The template arguments are implied by the enclosing class, so the fix is to spell the constructors and destructors by plain name (same shape as the equivalent change on the develop branch).

Touched: logger/basic.hpp, logger/syslog.hpp, endpoint.hpp, roles/server_endpoint.hpp.

Verified in a downstream consumer (bonefish WAMP router, GCC 13): the full tree builds clean under -std=c++20 with this change; endpoint, server_endpoint and the basic/syslog loggers instantiate correctly.

Diff: 26 lines (+13 / -13) across 4 files Reviewer: None requested Review duration: 0m
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.39) × (1 − Review Confidence (0.31)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 26 lines diff across 4 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 28% · Reviewer familiarity: 10%
31%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth shallow_review_depth
0.289
Diff Size diff_size
0.197
No Reviewer Assigned no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 item
"Review active on #1198"
general weight: 0.35
Reviewers
None requested
Assignees
xliang76 xliang76
Labels
risk: low confidence: 31.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.1% (MEDIUM) · Higher = larger blast radius
39.1%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 31.5% · Lower = rushed or shallow review
31.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 26.8% · Safe to merge
26.8%