# Method forwarding macro

**URL:** https://discourse.julialang.org/t/method-forwarding-macro/23355
**Category:** General Usage
**Created:** [April 20, 2019, 6:21pm UTC](https://discourse.julialang.org/t/method-forwarding-macro/23355 "2019-04-20T18:21:06Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)
#### Post date: [April 21, 2019, 6:58pm UTC](https://discourse.julialang.org/t/method-forwarding-macro/23355/8 "2019-04-21T18:58:51Z")

</div>

Yes. I thought they are the same, but interestingly, upon more research it appears that [forwarding and delegation are different in their semantics](https://stackoverflow.com/a/28539643/1576462).

I believe that composition is used in many places in Julia but it may be that most people just write the delegation code manually. It would be nice to have a standard macro somewhere that is versatile enough to cover many use cases.

---

_[View the full topic](https://discourse.julialang.org/t/method-forwarding-macro/23355)._
