# Pure procedure and intent(out) polymorphic pointer argument

**URL:** <https://fortran-lang.discourse.group/t/pure-procedure-and-intent-out-polymorphic-pointer-argument/8830>\
**Category:** Uncategorized\
**Created:** [November 12, 2024, 1:05am UTC](https://fortran-lang.discourse.group/t/pure-procedure-and-intent-out-polymorphic-pointer-argument/8830 "2024-11-12T01:05:18Z")\
**Posts on this page:** 1\
**Showing post:** 37

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [November 13, 2024, 11:05pm UTC](https://fortran-lang.discourse.group/t/pure-procedure-and-intent-out-polymorphic-pointer-argument/8830/37 "2024-11-13T23:05:17Z")

</div>

> [@gronki](#):
>
> I guess I know what next feature will be coming to LFortran 🙂

We already have this in our TODO list after beta, but I just created a dedicated issue: [Reference counted pointers · Issue #5382 · lfortran/lfortran · GitHub](https://github.com/lfortran/lfortran/issues/5382).

Here are past relevant discussions and proposals:

- [Reference counted pointer · Issue #334 · j3-fortran/fortran\_proposals · GitHub](https://github.com/j3-fortran/fortran_proposals/issues/334)
- [Ownership for Fortran pointers](https://fortran-lang.discourse.group/t/ownership-for-fortran-pointers/8084)

But I haven’t seen mentioned there that possibly the existing `pointer`s in Fortran could be implemented like that. Definitely worth investigating!

---

_[View the full topic](https://fortran-lang.discourse.group/t/pure-procedure-and-intent-out-polymorphic-pointer-argument/8830)._
