# SE-1084 (B): buffer pointer partial initialization API

**URL:** <https://forums.swift.org/t/se-1084-b-buffer-pointer-partial-initialization-api/6800>\
**Category:** Discussion\
**Created:** [October 10, 2017, 12:47am UTC](https://forums.swift.org/t/se-1084-b-buffer-pointer-partial-initialization-api/6800 "2017-10-10T00:47:33Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Nevin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nevin/32/617_2.png) [@Nevin](https://forums.swift.org/u/Nevin)\
**Post date:** [October 11, 2017, 11:06pm UTC](https://forums.swift.org/t/se-1084-b-buffer-pointer-partial-initialization-api/6800/11 "2017-10-11T23:06:25Z")

</div>

> Yes, a 0-ary operator like that would have to be hard baked into the  
> language itself.

Actually, you can just make a subscript which takes a function as an  
argument, and call it by passing in the ellipsis operator.

Nevin

Of course, the subscript notation has much more serious problems, there is

> **···**
>
> On Wednesday, October 11, 2017, Kelvin Ma via swift-evolution \< swift-evolution@swift.org\> wrote:
> 
> > no way to allow one-sided subscripting, but disallow two-sided subscripting  
> > for the memory API, while still allowing two-sided subscripting for  
> > ordinary slicing operations. This is why I still think at:from: is the  
> > much better syntax.
> > 
> > On Wed, Oct 11, 2017 at 3:01 PM, Nevin Brackett-Rozinsky \< \> nevin.brackettrozinsky@gmail.com \> \<javascript:\_e(%7B%7D,'cvml','nevin.brackettrozinsky@gmail.com');\>\> wrote:
> > 
> > > I believe Kelvin was asking about the usage of ellipsis \*by itself\*, as  
> > > in Xiaodi’s example, “newBuffer[...]”.
> > > 
> > > Nevin

---

_[View the full topic](https://forums.swift.org/t/se-1084-b-buffer-pointer-partial-initialization-api/6800)._
