[LyX/master] Add move constructor and move assignment operator for FileName class

Scott Kostyshak skostysh at lyx.org
Thu Jan 14 18:45:19 UTC 2021


On Thu, Jan 14, 2021 at 05:36:58PM +0100, Jean-Marc Lasgouttes wrote:
> Le 14/01/2021 à 16:53, Scott Kostyshak a écrit :
> > On Thu, Jan 14, 2021 at 09:34:37AM +0100, Jean-Marc Lasgouttes wrote:
> > > Le 13/01/2021 à 17:59, Scott Kostyshak a écrit :
> > > > I just tested with Clang and cannot reproduce. Stephan, does the list need to have more than one "recent file"? Note that the recent files are stored in the "session" file. You could experiment by seeing if it depends on which file you choose or how many entries are in the menu.
> 
> > For building with clang, all I currently do is:
> > 
> >    export CC=/usr/bin/clang
> >    export CXX=/usr/bin/clang++
> 
> Here I do
> 
> ../master/configure CXX="clang++-11 -stdlib=libc++"

Thanks, this is good to know. What is your intuition for when it would
be helpful to try the different C++ standard library? Did it have to do
since it is related to the move operator which is a relatively new C++
concept? I'm just trying to learn general intuition so I keep an eye
out. For example, would you consider trying it for any bug that is
reproducible on macOS but not on Linux with libstdc++? What about
reproducible on Windows but not Linux with libstdc++? If yes, only
crashing bugs or also difference-in-behavior bugs? I guess it is hard to
figure out whether the difference could be from the C++ standard library
or platform-specific Qt issues. Don't spend much (/any) time on this
question. Probably it is just a feeling you develop after lots of
experience and it's hard to explain.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210114/eb85fff8/attachment.asc>


More information about the lyx-devel mailing list