Dear Paul,
Paul Richard Thomas wrote:
> c = [ a, b ]
Is exactly the abomination that I did not want to exist! What happens
if 'a' and 'b' have different dynamic types?
Actually, I start to get lost in the fine prints. One finds:
"The dynamic type of an array constructor is the same as its
Dear Tobias,
The following example that you provided:
> Do you mean something like the following:
>
> !
> type t
> integer :: i = 5
> end type t
> type, extends(t) :: t2
> integer :: j = 6
> end type t2
>
> class(t), allocatable :: a(:), b(:), c(:)
> allocate
Dear Paul,
Paul Richard Thomas wrote:
Please reassure me that class array constructors do not, cannot and
will never occur!:-)
Do you mean something like the following:
!
type t
integer :: i = 5
end type t
type, extends(t) :: t2
integer :: j = 6
end typ
Dear All,
As previously advertised, the attached patch fixes the problem with
using an index array in the final assignment in subroutine qsort in
class_array_3.f03. The failure occurred because the temporary array
was assigned zero size, since the declared type is abstract. More
generally, even