Question: Is it possible to write something like this?

```
[](std::index_sequence<std::size_t ...I> s) {

};

```

Or this?

```
[]<std::size_t ...I>(std::index_sequence<I...> s) { 

}

```

How is the syntax for this in C++14 or C++17? Or is it not possible at all? Basically, I just want to have the `I` as a template parameter pack, and the lambda just serves as a way to do that. Alternatively, is there a syntax to achieve the following?

```
std::index_sequence<std::size_t ...I> x = std::make_index_sequence<10>{};

// I now is a local template parameter pack

```

Answer: 
You can inspect the error trying to see the JSON. In Google Chrome you can see it inspecting the element, reloading the page and then in the Network tab, XHR filter. You can see it in the next image

[![enter image description here](https://i.stack.imgur.com/9iiQw.png)](https://i.stack.imgur.com/9iiQw.png)
Change your query like this, in `where` or `orWhere` first param shuould be column name also add `%` around `$term` and remove unnecessary where conditions.

```
public function search(Request $request) {
$term = $request->input('term');
$members = DB::table('members as m')
            ->where('m.member_first_name', 'LIKE', "%$term%")
            ->orWhere('m.member_last_name', 'LIKE', "%$term%")
            ->orWhere('m.member_business_address', 'LIKE', "%$term%")
            ->get();
return response()->json($members);
}

```