Linker error
jfondren
julian.fondren at gmail.com
Tue Oct 12 00:01:25 UTC 2021
On Monday, 11 October 2021 at 23:43:17 UTC, Ruby The Roobster
wrote:
> package mixin template move__() {
> pragma(inline) package void mv(Point moveby, ref Skeleton
> tomove) {
> foreach(i;tomove.faces) {
> foreach(k;i.lines) {
> foreach(j;k.mid_points) {
> j += moveby;
> }
> k.start += moveby;
> k.stop += moveby;
> }
> i.center += moveby;
> }
> tomove.center += moveby;
> }
> }
It compiles if this `pragma(inline)` is removed.
More information about the Digitalmars-d-learn
mailing list