﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	revision
654	compile with c++20 standard	Wichur	Alpar Juttner	"Hi,

I am not able to compile my project in CXX_STANDARD 20 (g++-10).
I'm getting error:

{{{
error: 'lemon::ArrayMap<lemon::DigraphExtender<lemon::ListDigraphBase>, lemon::ListDigraphBase::Node, lemon::ListDigraphBase::Arc>::Allocator' {aka 'class std::allocator<lemon::ListDigraphBase::Arc>'} has no member named 'destroy'
  320 |           allocator.destroy(&(values[id]));
}}}

The reason is that {{{std::allocator.destroy()}}} is deprecated in C++17 and removed in C++20.

Is there any change to make Lemon work with C++20?
Thanks!
Best regards"	defect	closed	major	LEMON 1.4 release	core	hg main	duplicate			
