ball icon indicating copy to clipboard operation
ball copied to clipboard

The FragmentDB default constructor is confusing

Open anhi opened this issue 10 years ago • 2 comments

Reported by dstoeckel on 20 Sep 39596537 11:06 UTC In order to construct a default instance of the FragmentDB one has to write

FragmentDB db("");

in contrast to

FragmentDB db();

which builds an ''empty'' instance.

This can lead to much confusion especially for beginners, but will also result in strange problems for more experienced BALL users.

We should change this part of the API to something more obvious.

anhi avatar Feb 20 '15 01:02 anhi

Commented by admin on 24 Aug 40865202 20:31 UTC The FragmentDB will be probably rewritten/repaired for 2.0

anhi avatar Feb 20 '15 06:02 anhi

Commented by wolfgang on 16 Nov 40940633 04:45 UTC May change in the course of revamping the FragmentDB

anhi avatar Feb 20 '15 06:02 anhi