|
From: | Han-Wen Nienhuys |
Subject: | Re: Split glyph contours in up/down segments for skylines (issue 569700043 by address@hidden) |
Date: | Fri, 8 May 2020 16:43:37 +0200 |
On Fri, May 8, 2020 at 4:28 PM <address@hidden> wrote: > > seems to make the assertion output comparatively useless. Wouldn't it > be better > > to do such things as > > > > else { > > assert(condition); > > ... > > } > > > > instead? > > I'm used to the following idiom from LLVM: > assert(0 && "Unknown outline tag"); > > https://codereview.appspot.com/569700043/ it currently says else { // quadratic } I guess you want to have else if (something something tag) { //quadratic } else { assert(0); } what should I put for "something something tag" -- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |