Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » BiArray::Create{Head,Tail} with variadic args
BiArray::Create{Head,Tail} with variadic args [message #58371] Tue, 10 May 2022 23:54 Go to next message
busiek is currently offline  busiek
Messages: 65
Registered: February 2011
Location: Poland
Member
For some reason I needed BiArray::Create{Head,Tail}() variadic args version as Array::Create().
Simple patch included. Or should I use pull request since we are using github?

Cheers,
Jakub
Re: BiArray::Create{Head,Tail} with variadic args [message #58393 is a reply to message #58371] Mon, 16 May 2022 13:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13990
Registered: November 2005
Ultimate Member
Applied & added other missing variants and docs...

BTW, theide refused to apply that patch because of its ending

 	T&       Head()                        { return *(T *) bv.Head(); }
-- 
2.25.1


Is this some official format or just some weird accident?

Mirek
Re: BiArray::Create{Head,Tail} with variadic args [message #58398 is a reply to message #58371] Tue, 17 May 2022 09:49 Go to previous messageGo to next message
busiek is currently offline  busiek
Messages: 65
Registered: February 2011
Location: Poland
Member
I just used git format-patch. It should be applicable with git apply.

Jakub
Re: BiArray::Create{Head,Tail} with variadic args [message #58399 is a reply to message #58398] Tue, 17 May 2022 11:04 Go to previous message
mirek is currently offline  mirek
Messages: 13990
Registered: November 2005
Ultimate Member
busiek wrote on Tue, 17 May 2022 09:49
I just used git format-patch. It should be applicable with git apply.

Jakub


OK, I have changed theide to recognize "-- " as EOF, which fixes the problem...

Mirek
Previous Topic: How do I deserialize grouped items into an array or map when they take this form? [solved]
Next Topic: LoadFile("/sys/devices/virtual/thermal/ ...") does not work
Goto Forum:
  


Current Time: Tue Jul 16 06:05:18 CEST 2024

Total time taken to generate the page: 0.01676 seconds