Skip to content
Signalcrest
← Back to feed
stackoverflowdevtools

How to write a single function that allows filtering a collection of objects based on an arbitrary number of passed Types?

Shows how to implement a generic C++ function that filters collections by arbitrary types.

Steady

18

signal score

Cooling

7-day est. ~5

Why this scored 18

every term, weighted
Velocity+0.0 / 40 max

Engagement gained per hour since the last capture, against the fastest item on its own source

Acceleration+10.9 / 25 max

Whether that velocity is itself speeding up, as a per-hour rate

Cross-source spread+0.0 / 25 max

How many independent communities are talking about the same entity

Recency+8.4 / 10 max

Decays to zero over 14 days

Saturation penalty0.9 / 30 max

Subtracted once something is big and old — we rank what's next, not what's peaked

Composite18.5

Weights are hand-tuned, not learned — we're calibrating them against realized trends as history accumulates. On a topic's first sighting there's no previous reading to compare against, so acceleration starts from a neutral prior rather than a measurement, and velocity falls back to engagement over its whole lifetime until a second reading exists. Full methodology

Outlook

low confidence · estimate, not a guarantee

7-day

~5

range 017

14-day

~0

range 04

30-day

~0

range 00

Signal history

7-day window (free)

— — projected trajectory (estimate, not a guarantee)

Embed a live signal badge
Signalcrest signal badge
[![Signalcrest signal](https://www.signalcrest.app/api/badge/so%3A80000774)](https://www.signalcrest.app/topic/so%3A80000774)

Drop this in a README or blog post — it updates automatically as the score moves.