• BB_C
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    9 months ago

    No

    struct Shapes<const N: usize>([Shape; N])
    
    impl<const N: usize> Shapes<N> {
     const fn area(&self) -> f64 { /* ... */ }
    }
    

    Bad article 🤨